Uploaded image for project: 'mod-inventory-storage'
  1. mod-inventory-storage
  2. MODINVSTOR-570

Issues in /inventory-hierarchy enpoints

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 19.4.0
    • Labels:
    • Template:
    • Sprint:
      Gulfstream Sprint 97
    • Development Team:
      Gulfstream

      Description

      Overview:
      After a detailed checking of /inventory-hierarchy/updated-instance-ids and /inventory-hierarchy/items-and-holdings endpoints the next issues were found.

      onlyInstanceUpdateDate parameter works conversely

      Steps to Reproduce:

      1. Make GET /inventory-hierarchy/updated-instance-ids with date range and onlyInstanceUpdateDate set to "true"
      2. Check response

      Expected Results:
      Instance UUIDs which were updated within the specified date range are returned
      Actual Results:
      Instance UUIDs which were updated within the specified date range or have associated holdings/items updated within this date range are returned

      Holdings without items aren't returned

      Steps to Reproduce:

      1. Create/find the instance with associated holding that has no items
      2. Make POST /inventory-hierarchy/items-and-holdings with this instance UUID
      3. Check response

      Expected Results:
      Holding without items is returned in "holdings" section of the response
      Actual Results:
      Holding without items is not returned in "holdings" section of the response

      Empty holdings and items arrays are returned as empty fields

      Steps to Reproduce:

      1. Create/find the instance without associated holdings and items
      2. Make POST /inventory-hierarchy/items-and-holdings with this instance UUID
      3. Check response

      Expected Results:

      {
      "instanceId": "1b74ab75-9f41-4837-8662-a1d99118008d",
      "source": "FOLIO",
      "holdings": [],
      "items": []
      }
      

      Actual Results:

      {
      "instanceId": "1b74ab75-9f41-4837-8662-a1d99118008d",
      "source": "FOLIO",
      "holdings": "",
      "items": ""
      }
      

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                oyatsenko Oleksandr Yatsenko
                Reporter:
                Anastasiia Zakharova Anastasiia Zakharova (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases