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

Cannot update order item ship group quantity with no address

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • order
    • None
    • Bug Crush Event - 21/2/2015

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ofbizzer Christian Carlow
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: