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

Cannot update order item ship group quantity with no address

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: order
    • Labels:
      None
    • Sprint:
      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

            • Assignee:
              Unassigned
              Reporter:
              ofbizzer Christian Carlow

              Dates

              • Created:
                Updated:

                Agile

                  Issue deployment