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

Add itemLimit parameter to the item limit error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • None
    • None
    • EPAM-Veg Sprint 147
    • 2
    • Vega
    • Nolana R3 2022
    • Not a bug

    Description

      Overview:
      UI needs to receive itemLimit as a parameter to be able to translate error message properly. itemLimit parameter object should be added to the parameters array of the error when patron reaches item limit during check-out.

      Example:

      {
        "message": "Error message",
        "parameters": [
          {
            "key": "itemLimit",
            "value": "5"
          }
        ]
      }
      

      Steps to Reproduce:
      check UIU-2652

      Expected Results:
      itemLimit parameter should be present in the API response

      Actual Results:
      No itemLimit parameter, limit is only mentioned in the error message

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                roman-barannyk Roman Barannyk
                oleksandrkurash Alexander Kurash
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases