Description of problem: When accessing wrong facelet on mobile device and consequently the right application context, then the HTTP Status 500 is returned with error message, which can be viewed in the attached screenshot. It is caused because the PageBean hold the wrong part of the URL in the session, public void setLocation(String location) { this.location = location; this.page = String.format("/mobile/%s.xhtml", location); } Note that I have tried to change the scope of the PageBean to RequestScoped, but then the list with members what not updated with the new created ones. It is noticeable only on mobile devices, as on desktop there is only one view. Version-Release number of selected component (if applicable): Richfaces 4.2.1.Final Steps to Reproduce: 1. load application from generated kitchensink archetype 2 go to List Members view 3. you should be on the URL: http://your.ip.address:8080/contextRoot/#list 4. go to the wrong URL http://your.ip.address:8080/contextRoot/#lis 5. go to the correct URL http://your.ip.address:8080/contextRoot/ and see that 500 is returned
Brian Leathem <bleathem> updated the status of jira RF-12254 to Resolved
Brian Leathem <bleathem> made a comment on jira RF-12254 Added a resource look-up to the page bean to make sure the view exists
Distributed as a part of WFK 2.1.0.GA release.
Juraj Húska <jhuska> updated the status of jira RF-12254 to Closed