Uploaded image for project: 'mod-data-export'
  1. mod-data-export
  2. MDEXP-504

Exported holdings MARC records are combined with the records generated on the fly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 4.3.0
    • None
    • Firebird Sprint 133
    • 1
    • Firebird
    • Lotus R1 2022

    Description

      Overview:
      When exporting holdings with source MARC then the exported record contains also fields populated with the data coming from the inventory holdings record as if the record was generated on the fly. It seems that exporting records from SRS is getting combined with the record generated on the fly.

      Steps to Reproduce:

      1. Import MARC holdings record
      2. Export the imported holdings usingĀ  the holdings default job profile

      Expected behavior
      The exported records is exactly the same as the imported record with one 999 field populated with $s <srs uuid> and $i <inventory holdings uuid>

      Actual result
      The exported record contains additional field populated with the data coming from inventory holdings record. 999 field is repeated twice: once with $s and $i subfields and once with just $i

      Additional information:
      Here is the record when I do view source in inventory (notice that not all fields are present):

      Here is how the record is exported:

      =LDR  00664cam a2200205 a 4500
      =001  ho00000000039
      =004  in00000000013
      =005  20220215155640.6
      =008  9301235u\\\\8\\\2000uu\\\1000000
      =014  0\$9001426686
      =014  1\$aAFC5460CU003
      =035  \\$a1428667
      =852  \\$bMain Library
      =852  01$bKU/CC/DI/M$t3$hKF10$i.M66
      =866  \0$av.1-56,71-80 (1917-1971/1972,1986/1987-1995/1996)
      =866  41$80$av.1-56,71-80 (1917-1971/1972,1986/1987-1995/1996)
      =868  \0$av.1/11 (1917-1926/1927)
      =868  41$80$av.1/11 (1917-1926/1927)
      =999  ff$ic672b09d-69d8-449d-bfdf-7c39524a7645
      =999  ff$s21c0ee2f-d68d-46d1-95f6-b21258c851e8$ic672b09d-69d8-449d-bfdf-7c39524a7645
      

      TestRail: Results

        Attachments

          1. 10_holdings.mrc
            4 kB
          2. completed export.PNG
            completed export.PNG
            73 kB
          3. imported records.PNG
            imported records.PNG
            137 kB
          4. result.PNG
            result.PNG
            80 kB
          5. screenshot-4.png
            screenshot-4.png
            150 kB
          6. SearchHoldingsUUIDs2022-02-18T14_59_34+02_00.csv
            1 kB
          7. SearchHoldingsUUIDs2022-02-18T14_59_34+02_00-3.mrc
            9 kB

          Issue Links

            Activity

              People

                TotoroDev Illia Daliek
                magdaz Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases