packing slip pdf generation fails
---------------------------------

                 Key: OFBIZ-2061
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2061
             Project: OFBiz
          Issue Type: Bug
          Components: order, product
    Affects Versions: SVN trunk
         Environment: any
            Reporter: Karim Rahimpur
            Priority: Minor
             Fix For: SVN trunk


First quick ship an order, then try to obtain the packing slip.

The systems responds:

"The Following Errors Occurred:

Problems with the response writer/output stream: 
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
[component://product/widget/facility/ShipmentScreens.xml#PackingSlip.fo]: 
org.ofbiz.base.util.GeneralRuntimeException: Error while checking to see if 
this is the last result (The 'isLast' method is only allowed on scroll 
cursors.) (Error while checking to see if this is the last result (The 'isLast' 
method is only allowed on scroll cursors.))"

Tried with this order:
[https://demo.hotwaxmedia.com/ordermgr/control/orderview?orderId=DEMO10090]

Link for the packing slip pdf:
[https://demo.hotwaxmedia.com/facility/control/PackingSlip.pdf?shipmentId=10003]

The attached patch fixes that in PackingSlip.groovy (against rev. 720237).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to