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

"View Order" throws exception in getReturnableQuantity

    Details

    • Flags:
      Patch

      Description

      Steps to Reproduce:

      Expected:

      • the order is displayed with status completed

      Actual:

      • A groovy exception is displayed.

      Analysis:
      The service "getReturnableQuantity" throws an exception because it returns the returnablePrice = null, because the unitPrice of the orderItem was null.
      The OUT field returnablePrice is mandatory according to the service-definition. The return parameter is set but the value is null, hence the exception.

      Attached is a patch that will adjust the service-deinition to allow for "null" value of the OUT parameter.

        Attachments

          Activity

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              leonardlin Leonard Lin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: