[ 
https://issues.apache.org/jira/browse/OFBIZ-5916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255306#comment-14255306
 ] 

Scott Gray commented on OFBIZ-5916:
-----------------------------------

I'm a little confused here, your patch fix seems valid but not for the error 
you reported above.

The issue in the error posted in the description is that 'records' variable 
doesn't exist when records.add(...) is called in 
ShipmentWorkEffortTasks.groovy.  Did you upload the wrong patch for this ticket?

> Tasks Report from Manufacturing Shipment Plans throws error due to due to 
> missing EntityCondition import
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5916
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5916
>             Project: OFBiz
>          Issue Type: Bug
>          Components: manufacturing
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>            Priority: Minor
>         Attachments: OFBIZ-5916.patch
>
>
> This error occurs when clicking the "Tasks Report" button from the 
> Manufacturing -> Shipment Plans page once a production run has been created 
> for a planned shipment:
> Error running script at location 
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
>  groovy.lang.MissingPropertyException: No such property: records for class: 
> ShipmentWorkEffortTasks
> To reproduce:
> 1.  Create a shipment with status Schedued and a planned item
> 2.  Navigate to Manufacturing -> Shipment Plans and click "Create Production 
> Runs" for the shipment
> 3.  Click the "Tasks Report" button that appears once Production Runs have 
> been created



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to