Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Trunk
-
None
Description
This error occurs when clicking the Content button of a production run:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://manufacturing/widget/manufacturing/JobshopScreens.xml#ProductionRunContent: java.lang.IllegalArgumentException: Error running script at location [component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunContent.groovy]: org.ofbiz.base.util.GeneralException: Error loading Groovy script at [component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunContent.groovy]: (startup failed:
component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunContent.groovy: 40: unable to resolve class GenericValue
@ line 40, column 22.
GenericValue content = ContentWorker.findContentForRendering(delegator, delivProductContent.contentId, contentLocale, parameters.partyId, parameters.roleTypeId, true);
The GenericValue class needs to be imported for resolution.