Uploaded image for project: 'mod-circulation'
  1. mod-circulation
  2. CIRC-1507

When TLR feature is disabled, assign ILR during instance level requests creation

    XMLWordPrintable

Details

    • EPAM-Veg Sprint 137
    • 1
    • Vega
    • Lotus R1 2022 Bug Fix
    • !!!ALL!!!
    • Implementation coding issue

    Description

      Overview:

      When creating the instance level request via mod-patron, the user receives the error. This happens because on mod-circulation side we are still looking for the request level field in the json from the mod-patron, which does not pass tit any more.
      Steps to Reproduce:

      1. Log into some FOLIO environment as User X
      2. Attempt to place instance level request with the TLR feature disabled

      Expected Results:

      An item level request is created.
      Actual Results:

      { "code": 500, "errorMessage": "Failed to place a request for the instance. Reasons: \nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null%nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null%nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null%nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null%nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null%nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null%nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null%nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null%nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null"}

      Additional Information:
      URL:
      Interested parties:

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mykyta_varenyk Mykyta Varenyk
                mykyta_varenyk Mykyta Varenyk
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases