Uploaded image for project: 'Z39.50'
  1. Z39.50
  2. ZF-55

MARC holdings field generated for holdings with no items even if restrictToItem is set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Labels:
      None
    • Template:
    • Development Team:
      None
    • Affected Institution:
      University of Chicago

      Description

      Sorry for the long summary, but it kind of says it all.

      If using the marcHoldings feature of Net::Z3950::FOLIO with the restrictToItem option, a record returned from a barcode search will generate a MARC field for a holdings record even though there is no match to the item barcode, if there are no item records attached to the holdings record.

      To reproduce, use the attached config.able2.json (contact Wayne Schneider for credentials if needed) with the Z39.50 search f @1=9998 115165670. The record returned will contain 2 952 fields, one with the item that was searched for, and one for a holdings record that has no items.

      952    $t c.1 $b 115165670 $l Mansueto - JRLASR
      952    $t c.2 Withdrawn
      

      Reproduced with v2.4.0 and with HEAD of master.

        TestRail: Results

          Attachments

            Activity

              People

              Assignee:
              wayne Wayne Schneider
              Reporter:
              wayne Wayne Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  TestRail: Runs

                    TestRail: Cases