[
https://issues.apache.org/jira/browse/OFBIZ-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549231
]
BJ Freeman commented on OFBIZ-1388:
-----------------------------------
function call_fieldlookup2(target, viewName) {
// var fieldLookup = new fieldLookup1(target, arguments);
var fieldLookup = new fieldLookup1(target, null);
fieldLookup.popup2(viewName);
}
I nulled the second parameter you noticed it is not initialized or used.
fieldLookup1 takes the second parm and stores its in gobal this.args.
popup2 looks at this.args. and appends them. I believe this is how you are
getting the effect.
since the orginal fieldLookup1(target, arguments); arguments may have garbage
in it.
Why did it not change your on your system
it seem to fix the problem on mine.
> 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
>
>
> 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.