Uploaded image for project: 'mod-bulk-operations'
  1. mod-bulk-operations
  2. MODBULKOPS-135

Bulk Edit is not done for Holdings, Items without populated "URI" in electronic access

    XMLWordPrintable

Details

    • Firebird - Sprint 172
    • 1
    • Firebird
    • Poppy (R2 2023)
    • TBD

    Description

      Overview: Holdings, Items without populated "URI" in electronic access are not edited in Bulk Edit with 422 Unprocessable Entity error

      Steps to Reproduce:

      1. Log into FOLIO as User with "Bulk Edit: In app - Edit inventory records", "Inventory: All permissions" permissions
      2. Open "Inventory" app => Search for any Item and open its detail view
      3. Click "Actions" => "Edit"
      4. Click "Add electronic access" => Fill in any fields except "URI" field
      5. Click "Save & close" button
      6. Copy Item HRID and save it to .csv file
      7. Open "Bulk edit" app => Select "Inventory-items" record type => Select "Item HRIDs" record identifier 
      8. Click "or choose file" button => Upload file from Step #6
      9. Do Bulk Edit for the matched Item

      Expected Results: Bulk Edit is successful, Item is edited
      Actual Results: Item is not edited in Bulk Edit with the following error message:

      "message": "[422 Unprocessable Entity] during [PUT] to http://inventory/items/0b96a642-5e7f-452d-9cae-9cee66c9a892 ItemClient#updateItem(Item,String): [{\"errors\":[{\"message\":\"must not be null\",\"type\":\"1\",\"code\":\"javax.validation.constraints.NotNull.message\",\"parameters\":[

      {\"key\":\"electronicAccess[0].uri\",\"value\":\"null\"}

      ]}]}]"

      Additional Information: The issue is reproducible for Holdings, Items without populated "URI" in electronic access
      URL:
      Interested parties:

      TestRail: Results

        Attachments

          1. 2023-08-01_20h53_30.png
            2023-08-01_20h53_30.png
            85 kB
          2. 2023-08-01_20h57_48.png
            2023-08-01_20h57_48.png
            92 kB
          3. holdings.webm
            7.50 MB
          4. items.webm
            9.00 MB

          Issue Links

            Activity

              People

                Charniak Siarhei Charniak
                tatsiana_hryhoryeva Tatsiana Hryhoryeva
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases