[
https://issues.apache.org/jira/browse/OFBIZ-4865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271142#comment-13271142
]
Ankit Jain commented on OFBIZ-4865:
-----------------------------------
This is happening because of the below code in "updateOrderItemShipGroup"
service.
<call-bsh><![CDATA[
shipmentMethod = parameters.get("shipmentMethod");
if(shipmentMethod != null){
arr = shipmentMethod.split( "@" );
parameters.put("shipmentMethodTypeId", arr[0]);
parameters.put("carrierPartyId", arr[1]);
parameters.put("carrierRoleTypeId", arr[2]);
}
]]></call-bsh>
> Exception there when trying to update order's "Shipping Destination Address"
> ----------------------------------------------------------------------------
>
> Key: OFBIZ-4865
> URL: https://issues.apache.org/jira/browse/OFBIZ-4865
> Project: OFBiz
> Issue Type: Bug
> Components: order
> Affects Versions: SVN trunk
> Reporter: Leon
>
> If click the "update" button of "Shipping Destination Address" in order view
> page, an exception thrown out as:
> {quote}
> The Following Errors Occurred:
> BeanShell execution caused an error: Sourced file: inline evaluation of: ``
> shipmentMethod = parameters.get("shipmentMethod"); if(s . . . ''
> {quote}
> I'm not familiar with beanshell and the mechanism of how ofbiz handling it,
> but I'm sure that there'no such error days ago.
--
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