Uploaded image for project: 'mod-rtac'
  1. mod-rtac
  2. MODRTAC-56

If fullPeriodicals = false then always return holdings information

    XMLWordPrintable

Details

    • Prokopovych - Sprint 118, Prokopovych - Sprint 119
    • 3
    • Prokopovych
    • R2 2021 Bugfix
    • Chalmers

    Description

      Given fullPeriodicals = false
      When holdings record has no items attached
      Then still return holdings information
      AND not an error message

      Do not return this
      <?xml version='1.0' encoding='UTF-8'?>
      <instances>
      <errors>
      <error>
      <message>Instance 82918535-77a3-4e87-8c8d-363feb1efd0a can not be retrieved</message>
      <code>404</code>
      </error>
      </errors>
      </instances>

      Instead return this
      <instances>
      <holdings>
      <instanceId>82918535-77a3-4e87-8c8d-363feb1efd0a</instanceId>
      <holding>
      <id>31afebfb-5ccb-4ae7-b749-e95dbbe6a03f</id>
      <callNumber>Newspaper</callNumber>
      <location>Regenstein, 2nd Floor Current Periodicals & Newspapers</location>
      <status>Please contact library for access</status>
      </holding>
      </holdings>
      </instances>

      Additional acceptance criteria

      • Verify no performance impact
      • Write tests

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                felkerk Kyle Felker
                kgambrell Khalilah Gambrell
                Khalilah Gambrell Khalilah Gambrell
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases