Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-94

Improve PUT orders/id endpoint to not remove PO Lines

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 2.0.0
    • None
    • ACQ Sprint 53, ACQ Sprint 54
    • 3

    Description

      Current PUT orders/id implementation removes PO Lines from the Order and re-creates them from the request body.
      On the other hand, UI sends only Order details without PO Lines in PUT request body (similar to POST) that results in loosing PO Lines during update.

      In order to avoid this issue, PUT orders/id should be improved to not remove existing PO Lines if they are missing in the request. In other words, support both - update of only Order details and update of Order details and PO Lines - similar to POST method.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                cmcnally Craig McNally
                pavelk-epam Pavel Korolenok
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases