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

"View Order" throws exception in getReturnableQuantity

    XMLWordPrintableJSON

Details

    • 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

        1. services_return.xml.patch
          0.2 kB
          Leonard Lin

        Activity

          People

            jleroux Jacques Le Roux
            leonardlin Leonard Lin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: