"setUserPreference" goes to main page instead last view if current form includes any lookup field
------------------------------------------------------------------------------------------------- Key: OFBIZ-4313 URL: https://issues.apache.org/jira/browse/OFBIZ-4313 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Reporter: Leon Priority: Minor Fix For: SVN trunk When I open a form which include lookup field and then click the "set User Preference" button around the upper right corner, the page will go to "main" after user preference is setted. The cause is the requests initiated by lookup field does not remeber the last view name. It simply use "main" instead. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leon updated OFBIZ-4313: ------------------------ Attachment: lookup_lastViewName.patch Patch to make lookup requests remember the _LAST_VIEW_NAME_ correctly. > "setUserPreference" goes to main page instead last view if current form includes any lookup field > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-4313 > URL: https://issues.apache.org/jira/browse/OFBIZ-4313 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Priority: Minor > Fix For: SVN trunk > > Attachments: lookup_lastViewName.patch > > > When I open a form which include lookup field and then click the "set User Preference" button around the upper right corner, the page will go to "main" after user preference is setted. > The cause is the requests initiated by lookup field does not remeber the last view name. It simply use "main" instead. -- This message is automatically generated by JIRA. 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-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051547#comment-13051547 ] Jacques Le Roux commented on OFBIZ-4313: ---------------------------------------- Leon, Quickly tested # I did not find any <<"set User Preference" button around the upper right corner>>, There is only the Preferences menu in Bizness Time theme, are you sure you are using trunk? # I know this behaviour exists when changing theme. But after having applied your patch and compiled, I still see it. So the patch does not fix this one, are you referring to something else? > "setUserPreference" goes to main page instead last view if current form includes any lookup field > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-4313 > URL: https://issues.apache.org/jira/browse/OFBIZ-4313 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Priority: Minor > Fix For: SVN trunk > > Attachments: lookup_lastViewName.patch > > > When I open a form which include lookup field and then click the "set User Preference" button around the upper right corner, the page will go to "main" after user preference is setted. > The cause is the requests initiated by lookup field does not remeber the last view name. It simply use "main" instead. -- This message is automatically generated by JIRA. 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-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051659#comment-13051659 ] Bruno Busco commented on OFBIZ-4313: ------------------------------------ Could it be related to the button used to expand/collapse the header ? > "setUserPreference" goes to main page instead last view if current form includes any lookup field > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-4313 > URL: https://issues.apache.org/jira/browse/OFBIZ-4313 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Priority: Minor > Fix For: SVN trunk > > Attachments: lookup_lastViewName.patch > > > When I open a form which include lookup field and then click the "set User Preference" button around the upper right corner, the page will go to "main" after user preference is setted. > The cause is the requests initiated by lookup field does not remeber the last view name. It simply use "main" instead. -- This message is automatically generated by JIRA. 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-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051696#comment-13051696 ] Leon commented on OFBIZ-4313: ----------------------------- Yes, Bruno. You're right, it's the header expanded/collpased button. The " setUserPreference" is the javascript function which triggered by click on that button. > "setUserPreference" goes to main page instead last view if current form includes any lookup field > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-4313 > URL: https://issues.apache.org/jira/browse/OFBIZ-4313 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Priority: Minor > Fix For: SVN trunk > > Attachments: lookup_lastViewName.patch > > > When I open a form which include lookup field and then click the "set User Preference" button around the upper right corner, the page will go to "main" after user preference is setted. > The cause is the requests initiated by lookup field does not remeber the last view name. It simply use "main" instead. -- This message is automatically generated by JIRA. 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-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4313. ---------------------------------- Resolution: Fixed Fix Version/s: Release Branch 11.04 Assignee: Jacques Le Roux Thanks Leon (and Bruno for the help ;o), Your patch is in trunk at r1137433 R11.04 at r1137436. > "setUserPreference" goes to main page instead last view if current form includes any lookup field > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-4313 > URL: https://issues.apache.org/jira/browse/OFBIZ-4313 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Leon > Assignee: Jacques Le Roux > Priority: Minor > Fix For: Release Branch 11.04, SVN trunk > > Attachments: lookup_lastViewName.patch > > > When I open a form which include lookup field and then click the "set User Preference" button around the upper right corner, the page will go to "main" after user preference is setted. > The cause is the requests initiated by lookup field does not remeber the last view name. It simply use "main" instead. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |