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

Convert FindShipment ftl to form widget

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Resolved
    • Trunk
    • 16.11.01
    • product
    • None

    Description

      The error below occurs when findShipmentExprs is null in FindShipment.groovy which prevents the page from even displaying. IMO the FindShipment.groovy and FindShipment.ftl should be replaced with form widgets.

      ERROR rendering error page [/error/error.jsp], but here is the error text: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen component://product/widget/facility/ShipmentScreens.xml#FindShipment: java.lang.IllegalArgumentException: Error running script at location [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [interface java.util.List] [interface java.util.Map] (Error running script at location [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [interface java.util.List] [interface java.util.Map])

      Attachments

        1. OFBIZ-6144.patch
          7 kB
          Christian Carlow
        2. OFBIZ-6144.patch
          7 kB
          Pawan Verma

        Issue Links

          Activity

            People

              deepak Deepak Dixit
              ofbizzer Christian Carlow
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: