/[Apache-SVN]
ViewVC logotype

Revision 1340353


Jump to revision: Previous Next
Author: jleroux
Date: Sat May 19 06:41:34 2012 UTC (11 years, 11 months ago)
Changed paths: 2
Log Message:
"Applied fix from trunk for revision: 1340352  " 
------------------------------------------------------------------------
r1340352 | jleroux | 2012-05-19 08:39:24 +0200 (sam., 19 mai 2012) | 7 lines

A patch from Leon for "Exception there when trying to update order's "Shipping Destination Address"" https://issues.apache.org/jira/browse/OFBIZ-4865

If click the "update" button of "Shipping Destination Address" in order view page, an exception thrown out as:
    The Following Errors Occurred:
    BeanShell execution caused an error: Sourced file: inline evaluation of: `` shipmentMethod = parameters.get("shipmentMethod"); if(s . . . ''

I searched the log and find the root cause is "java.lang.ArrayIndexOutOfBoundsException" from bsh script. As Paul told, there should be at least two "@" chars in "shipmentmethod" value. So I guess maybe somewhere "@" is missing. I tried to lookup for codes which construct parameters map for calling, and fortunately, I found it.
------------------------------------------------------------------------


Changed paths

Path Details
Directoryofbiz/branches/release09.04/ modified , props changed
Directoryofbiz/branches/release09.04/applications/order/script/org/ofbiz/order/order/OrderServices.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26