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

error status in quickMARC when mapping uses 2x applyRulesOnConcatenatedData & subfields are missing (juniper only)

    XMLWordPrintable

Details

    • 0
    • Folijet Support
    • Lotus R1 2022
    • Change the mapping to include the subfields in the field causing the issue.
    • Trinity College
    • Institution specific data

    Description

      Overview:

      *I could only recreate this on juniper.  I could not recreate it on Kiwi bugfest or snapshot*

      When a marc-bib mapping uses applyRulesOnConcatenatedData for both the identifiers.identifierTypeId and identifiers.value & the MARC record does not contain any of the subfields in the mapping this error occurs (from the logs) in mod-inventory-storage and the MARC record reflects an 'error' status in quickMARC:

      2021-12-09 17:48:52.475,"17:48:52 [] [] [] [] INFO LogUtil 127.0.0.1:44244 PUT /instance-storage/instances/8e4989dc-2150-419e-9617-6dad022b1b36 null HTTP_1_1 422 169 -1 tid=null Unprocessable Entity {""errors"":[{""message"":""must not be null"",""type"":""1"",""code"":""javax.validation.constraints.NotNull.message"",""parameters"":[

      {""key"":""identifiers[0].value"",""value"":""null""}

      ]}]}"

      Steps to Reproduce:

      1. Log into Juniper bugfest
      2. Select a record to update in quickMARC
      3. Create or update the 024 field to not contain any of the subfields listed in the mapping for the 024 ($a, $c, $d, $q, $z or $2) - use other subfields like $k and $l
      4. Save the record
      5. Open the record again in quickMARC.

      Expected Results:

      The status should be current.
      Actual Results:

      The status is error
      Additional Information:
      I updated this record in Juniper bugfest as an example: in5161838  (instance HRID)
      Interested parties:

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                abreaux Ann-Marie Breaux
                msuranofsky Michelle Suranofsky
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases