Uploaded image for project: 'mod-circulation-storage'
  1. mod-circulation-storage
  2. CIRCSTORE-288

POST /request-storage-batch should set metadata: createdDate, ...

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • 13.0.0, 13.1.0
    • 13.1.1, 14.0.0
    • None
    • Prokopovych

    Description

      Two APIs can create a request:

      • POST /request-storage/requests
      • POST /request-storage-batch

      POST /request-storage/requests adds metadata (including createdDate), whereas POST /request-storage-batch doesn't add metadata.

      The latter should call RMB's setMetadata method to fix this: https://github.com/folio-org/raml-module-builder/blob/v33.0.3/domain-models-runtime/src/main/java/org/folio/rest/tools/utils/MetadataUtil.java#L74

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases