[ https://issues.apache.org/jira/browse/OFBIZ-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551129 ]
Bilgin Ibryam commented on OFBIZ-1388: -------------------------------------- BTW should we remove code fragments that are not used anywhere (like quicklookup_popup method in the same file - javascript.ftl:91 ) ? Is there a reason (like later reuse) for keeping them in OFBiz ? > Bug in lookup windows URL > ------------------------- > > Key: OFBIZ-1388 > URL: https://issues.apache.org/jira/browse/OFBIZ-1388 > Project: OFBiz > Issue Type: Bug > Affects Versions: SVN trunk, Release Branch 4.0 > Reporter: Bilgin Ibryam > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: JsLookup.patch, lookup.patch, quicklookup.patch > > > Hi all, > I just noticed a bug in lookup windows url generation. > One way to generate the bug is this: > Go to order manager and add to cart configurable pc (PC001). You can do it > browsing Configurable PCs category on the left corner. > After you add PC001 to cart, you will be in order entry screen and your URL > should look like this: > https://localhost:8443/ordermgr/control/additem/product > At this stage if you try to add another product AND click on the product > lookup button, the screen in the lookup window will be orderentry screen but > not the product lookup screen! > Popup screen will not generate LookupProduct request as it is expected, > instead the request is "additem/LookupProduct" and then ControlServlet > transform it to additem request. You can see that additem is coming from the > URL we mentioned /control/additem/product > Any ideas how to fix this bug? > Bilgin Ibryam -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.