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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: 13.0.0, 13.1.0
    • Fix Version/s: 13.1.1
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Development Team:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases