[jira] Created: (OFBIZ-2061) packing slip pdf generation fails

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-2061) packing slip pdf generation fails

Nicolas Malin (Jira)
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 | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2061) packing slip pdf generation fails

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karim Rahimpur updated OFBIZ-2061:
----------------------------------

    Attachment: PackingSlip.groovy.patch

fixes PackingSlip.groovy

> 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
>
>         Attachments: PackingSlip.groovy.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 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 | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2061) packing slip pdf generation fails

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karim Rahimpur updated OFBIZ-2061:
----------------------------------

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

The systems responds:

{noformat:nopanel=true}
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.))
{noformat}

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).

  was:
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).


> 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
>
>         Attachments: PackingSlip.groovy.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> First quick ship an order, then try to obtain the packing slip.
> The systems responds:
> {noformat:nopanel=true}
> 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.))
> {noformat}
> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2061) packing slip pdf generation fails

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650264#action_12650264 ]

Jacques Le Roux commented on OFBIZ-2061:
----------------------------------------

Something weird though : it works well locally with all orders I tried (6). XPsp3, Postgres 8.4, r720221.

You can try yourself from alternate trunk server (it the same machine)

> 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
>
>         Attachments: PackingSlip.groovy.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> First quick ship an order, then try to obtain the packing slip.
> The systems responds:
> {noformat:nopanel=true}
> 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.))
> {noformat}
> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2061) packing slip pdf generation fails

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650273#action_12650273 ]

Karim Rahimpur commented on OFBIZ-2061:
---------------------------------------

It's a Derby specific exception (see code XJ061 in [http://db.apache.org/derby/docs/10.4/ref/]) So it shouldn't happen with other DBs. I've checked it locally while running with Derby and the error shows up.

I suggest to fix this because by default the systems runs with Derby. What do you think?

> 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
>
>         Attachments: PackingSlip.groovy.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> First quick ship an order, then try to obtain the packing slip.
> The systems responds:
> {noformat:nopanel=true}
> 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.))
> {noformat}
> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2061) packing slip pdf generation fails

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650277#action_12650277 ]

Karim Rahimpur commented on OFBIZ-2061:
---------------------------------------

This link gets you directly to the list of exceptions: [http://db.apache.org/derby/docs/10.4/ref/rrefexcept71493.html].

> 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
>
>         Attachments: PackingSlip.groovy.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> First quick ship an order, then try to obtain the packing slip.
> The systems responds:
> {noformat:nopanel=true}
> 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.))
> {noformat}
> 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 | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2061) packing slip pdf generation fails

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-2061.
----------------------------------

    Resolution: Fixed
      Assignee: Jacques Le Roux

Thanks Karim,

Your patch is in trunk revision: 720789  


> 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
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: PackingSlip.groovy.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> First quick ship an order, then try to obtain the packing slip.
> The systems responds:
> {noformat:nopanel=true}
> 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.))
> {noformat}
> 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.