Tom Burns created OFBIZ-4875: -------------------------------- Summary: Problem Display Behavior Using Response type="view-last" Key: OFBIZ-4875 URL: https://issues.apache.org/jira/browse/OFBIZ-4875 Project: OFBiz Issue Type: Bug Components: ALL COMPONENTS Affects Versions: Release 10.04, SVN trunk Environment: demo-stable demo-trunk Reporter: Tom Burns
Under some conditions Response type="view-last" in common-controller.xml produces unexpected results. 1. When the user navigates from a help file and changes the Language, Visual Theme or Time Zone. 2. When the user selects a node from a jQuery jstree and changes the Language, Visual Theme or Time Zone (demo-trunk only) 3. type="view-last" is used extensively throughout OFBiz so there could be other problem cases. To Reproduce: Case 1 Select Help: 1 Open any OFBiz back office application with a theme that has a preference section. 2 Click the Help link in the preferences section 3 The Help window opens 4 Close the Help window 5 Click the Language, Visual Themes or Time Zone link in the preferences section 6 Select any language , theme or time zone Expect: Return to the OFBiz Application Case 2 Select tree node (demo-trunk only): 1 Open Catalog Manager or HR application 2 Click a node in the jQuery tree 3 Click the Language, Visual Themes or Time Zone link (not the Done or Cancel button) in the preferences section 4 Select any language , theme or time zone Expect: Return to the OFBiz Application Actual: Case 1 Help: The Help window opens. The application is no longer available. The user is Stuck, only way out is the browser back button. Case 2 jQuery Tree: The application opens in a text only mode. If the user makes a selection from the text only view the theme is restored. Note: The display may be a Help window or a screen with text "No category specified." if the user follows other paths not described here. Not sure of an approach for a solution. Modify the "view-last" RequestHandler.java logic Using some other response type or value in the <response name="success" type="view-last" value="main"/> Any suggestions? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira