Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5923

Production Run Content button throws unable to resolve class GenericValue error

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            ofbizzer Christian Carlow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment