You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Scott Gray (JIRA)" <ji...@apache.org> on 2014/12/22 01:16:13 UTC
[jira] [Commented] (OFBIZ-5915) Error when viewing Shipment Plan
from Manufacturing
[ https://issues.apache.org/jira/browse/OFBIZ-5915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255321#comment-14255321 ]
Scott Gray commented on OFBIZ-5915:
-----------------------------------
Note: this is no longer applicable to the trunk since the switch to EntityQuery. The other releases still need to be checked to see if they have the same problem though.
> Error when viewing Shipment Plan from Manufacturing
> ---------------------------------------------------
>
> Key: OFBIZ-5915
> URL: https://issues.apache.org/jira/browse/OFBIZ-5915
> Project: OFBiz
> Issue Type: Bug
> Components: manufacturing
> Affects Versions: Trunk
> Reporter: Christian Carlow
> Attachments: OFBIZ-5915.patch
>
>
> This error appears when clicking on a shipment plan from the Manufacturing Shipment Plans: Error running script at location [component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/WorkWithShipmentPlans.groovy]: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String
> The error is caused by an invalid call to delegator.findByAnd at line of 150 of WorkWithShipmentPlans.groovy.
> To reproduce:
> 1. Create an order for an item associated with a ship group
> 2. After order creation click "New Shipment" for the ship group
> 3. Change the shipment status to "Scheduled'
> 4. Add a Shipment Plan
> 5. Navigate to Manufacturing -> Shipment Plans
> 6. Click "View" for the shipment plan
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)