Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Trunk
-
None
Description
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