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

Can't Unopen order - error response

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 11.1.1
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      ACQ Sprint 100
    • Story Points:
      2
    • Development Team:
      Thunderjet
    • Release:
      Q3 2020 Bug Fix

      Description

      Overview: User gets error response when clicks Unopen button for order with Ongoing order type.
      Steps to Reproduce:

      1. Log into thunderjet-ci FOLIO as user with open/unopen orders permissions;
      2. Click Unopen button for order #10070

      Expected Results: Order is unopened successfully
      Actual Results: error toast message "Protected fields can't be modified"
      Additional Information:
      Can be reproduced only when Review Date is specified
      Request URL: https://thunderjet-okapi.ci.folio.org/orders/composite-orders/a7644600-d27b-405f-8f6c-9264910dcaed
      Request Method: PUT
      Status Code: 400

      {
        "errors" : [ {
          "message" : "Protected fields can't be modified",
          "code" : "protectedFieldChanging",
          "parameters" : [ ],
          "protectedAndModifiedFields" : [ "ongoing" ]
        } ],
        "total_records" : 1
      }
      

      URL:
      Interested parties:

      Acceptance

      Logic updated
      Unit tests
      API tests

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                yauheni_kuzmianok Yauheni Kuzmianok
                Reporter:
                aliaksei_chumakou Aliaksei Chumakou
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases