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

the previouslyHeld property in instance.json has an error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • 22.0.1
    • 22.0.3, 23.0.0
    • None
    • This is a problem in juniper Hotfix #2.

    • None
    • University of Chicago

    Description

      The previouslyHeld property in instance.json throws a validation error when the default is used. Here is the definition:

      "previouslyHeld": { "type": "boolean", "description": "Records the fact that the resource was previously held by the library for things like Hathi access, etc.", "default": "false" }

      As you can see the property is type boolean, but the default is a string. When the default is applied because the property was not supplied, the result is a string where there should be a boolean, and validation fails. The fix is to change the default to a boolean false.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                julianladisch Julian Ladisch
                arnt@uchicago.edu Dale Arntson
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases