|
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 |
|
[ https://issues.apache.org/jira/browse/OFBIZ-4875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279726#comment-13279726 ] Jacques Le Roux commented on OFBIZ-4875: ---------------------------------------- Yes I saw those problems for a long time now. Not sure yet how to address them correctly... > 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 |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280567#comment-13280567 ] Tom Burns commented on OFBIZ-4875: ---------------------------------- Hi Jacques, These are links to user preferences. There could be a Preferences portal in My Portal. This portal would be a scalable (how many preferences can you put in the header), centralized location for user preferences. It could include preferences for language, time, themes, displayed menu items?, default Items per page? etc. The current links would stay in place but open to the portal. When the user is finished he would actively select a widget (menu / button /etc) to continue work. There would be no need to use view-last. A possible solution? Tom > 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 |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284119#comment-13284119 ] Jacques Le Roux commented on OFBIZ-4875: ---------------------------------------- Hi Tom, Interesting, but from a slim-down POV this would mean that the myportal specialpurpose application would need to stay OOTB in OFBiz. Also it's convenient to have a quick access to this settings (languages and themes). Though more from a developer perspective, I must admit ;) Other ideas, opinions? Not specifically to you Tom, but in the community I mean... > 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 |
| Free forum by Nabble | Edit this page |
