Uploaded image for project: 'mod-inventory'
  1. mod-inventory
  2. MODINV-586

Move holdings does not recognise new administrativeNotes property

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      Prokopovych - Sprint 128
    • Development Team:
      Prokopovych

      Description

      Error:-
      status code was: 500, expected: 200, response time in milliseconds: 1228, url:
      https://folio-testing-okapi.dev.folio.org:443/inventory/holdings/move
      , response:
      java.lang.IllegalArgumentException: Unrecognized field "administrativeNotes" (class org.folio.HoldingsRecord), not marked as ignorable (36 known properties: "electronicAccess", "notes", "holdingsStatementsForSupplements", "formerIds", "receiptStatus", "acquisitionMethod", "instanceId", "holdingsStatements", "sourceId", "_version", "id", "callNumberTypeId", "copyNumber", "numberOfItems", "temporaryLocationId", "acquisitionFormat", "hrid", "digitizationPolicy", "holdingsStatementsForIndexes", "metadata", "retentionPolicy", "illPolicyId", "effectiveLocationId", "callNumberSuffix", "callNumberPrefix", "permanentLocationId", "discoverySuppress", "callNumber", "shelvingTitle", "receivingHistory", "tags", "holdingsTypeId", "bareHoldingsItems", "statisticalCodeIds", "holdingsItems", "holdingsInstance"])
      at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: org.folio.HoldingsRecord["administrativeNotes"])
      classpath:domain/mod-inventory/features/inventoryFeatureTest.feature:429
       

      Code that causes the issue - https://github.com/folio-org/mod-inventory/blob/a3e726cd3ccec2ed98adda4b18c1783b1f[…]5adb1c/src/main/java/org/folio/inventory/resources/MoveApi.java

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                singhAdesh Adesh Singh
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases