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

EffecticeCallNumberComponents is not set for items in "/item-storage/batch/synchronous" API

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      Core: F - Sprint 84
    • Development Team:
      Prokopovych

      Description

      The deferred effecticeCallNumberComponents property for item records is not set when creating items through /item-storage/batch/synchronous batch API.

      Steps to reproduce:

      1. Create a holdings record with callNumber/Suffix/Prefix set;
      2. Associate the item with the holdings record;
      3. Create the item using /item-storage/batch/synchronous API;
      4. Retrieve item by id;

      Expected: Item has effectiveCallNumberComponents object.
      Actual: There is no effectiveCallNumberComponents object present for item.

      Development notes:

      This property is calculated during each insert/update of an item in java code (see org.folio.rest.impl.ItemStorageAPI#postItemStorageItems). The similar logic have to be added to the org.folio.rest.impl.ItemBatchSyncAPI#postItemStorageBatchSynchronous method.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                bohdan-suprun Bohdan Suprun
                Reporter:
                bohdan-suprun Bohdan Suprun
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases