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

Production Run Content button throws unable to resolve class GenericValue error

    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.

      1. OFBIZ-5923.patch
        0.7 kB
        Christian Carlow

        Activity

        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Thanks Christian,

        Your patch is in
        trunk r1647338
        R13.07 r1647340
        R12.04 r1647341

        Show
        jacques.le.roux Jacques Le Roux added a comment - Thanks Christian, Your patch is in trunk r1647338 R13.07 r1647340 R12.04 r1647341

          People

          • Assignee:
            jacques.le.roux Jacques Le Roux
            Reporter:
            ofbizzer Christian Carlow
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development