Christian Carlow created OFBIZ-5923:
---------------------------------------

             Summary: Production Run Content button throws unable to resolve 
class GenericValue error
                 Key: OFBIZ-5923
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5923
             Project: OFBiz
          Issue Type: Bug
          Components: manufacturing
    Affects Versions: Trunk
            Reporter: Christian Carlow
            Priority: Minor


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.



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

Reply via email to