[jira] [Updated] (OFBIZ-5406) Cannot update order item ship group quantity with no address

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

[jira] [Updated] (OFBIZ-5406) Cannot update order item ship group quantity with no address

Nicolas Malin (Jira)

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

Jacopo Cappellato updated OFBIZ-5406:
-------------------------------------

    Component/s: order

> Cannot update order item ship group quantity with no address
> ------------------------------------------------------------
>
>                 Key: OFBIZ-5406
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5406
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>            Reporter: Christian Carlow
>
> This error occurs when order item ship group quantities are changed for ship group with no address associated:
> The address(es) used for tax calculation did not have State/Province or Country or other tax jurisdiction values set, so we cannot determine the taxes to charge.
> This is caused by the call to coh.calcAndAddTax(); in saveUpdatedCartToOrder() of OrderServices.java.  Changing to coh.calcAndAddTax(true); resolves the problem.  The boolean provides the value for the skipEmptyAddresses parameter of the function.



--
This message was sent by Atlassian JIRA
(v6.2#6252)