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

Inappropriate error response on missing instance-type

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • 4.0.0
    • 6.0.0
    • ACQ Sprint 63
    • 1
    • EBSCO - FSE

    Description

      Overview:
      Transitioning an order from Pending to Open fails if an instance-type is not defined with code zzz. Currently this results in an index out of bounds exception and a response with the following cryptic error:

      {
        "errors" : [ {
          "message" : "Generic error",
          "code" : "genericError",
          "parameters" : [ ],
          "cause" : "Index: 0, Size: 0"
        } ],
        "total_records" : 1
      }
      

      Acceptance Criteria:

      • An appropriate error response (code & message) is returned.
      • Unit tests are updated

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                cmcnally Craig McNally
                cmcnally Craig McNally
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases