[jira] [Commented] (OFBIZ-5430) "Please Select Your Shipping Method" error sometimes occurs when updating order items

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

[jira] [Commented] (OFBIZ-5430) "Please Select Your Shipping Method" error sometimes occurs when updating order items

Nicolas Malin (Jira)

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

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

Yes I saw that also, I found a workaround for the extra empty ship group, but was really not satisfied with it. Then I was unable to reproduce.

It could be related to ShoppingCart.java.getShipInfo() where surprinsingly a shipInfo is created.

> "Please Select Your Shipping Method" error sometimes occurs when updating order items
> -------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5430
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5430
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Christian Carlow
>
> Sometimes when an order item is appended or existing order items are updated, a "Please Select Your Shipment Method" error occurs.  I'm not exactly sure what causes this but it seems to be intermittent because sometimes I'm able to perform both of the operations without the error occur.  
> The problem seems to be that an extra empty ship group is added to the cart and takes the index position of first ship group.  Because the empty ship group contains no shipmentMethodTypeId or carrierPartyId the error occurs.
> Logic needs to exist to prevent the empty ship group that causes this issue from ever being added to the cart.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)