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

"View Order" throws exception in getReturnableQuantity

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment