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

Production Run Content button throws unable to resolve class GenericValue error

    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

        1. OFBIZ-5923.patch
          0.7 kB
          Christian Carlow

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: