multiple $bs in items from marc_export can confuse external systems

Bug #2004587 reported by Rogan Hamby
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned

Bug Description

In this great age of discovery layers really caring about where an item lives the multiple subfield bs created in the holdings when marc is exported is confusing. One is currently for the call number owning library and one for the circ library of the item self. Non-discovery layers may care too but the discovery layers very much care.

This is up for discussion how to best handle it but the options appear to me to be

a) break the call number owning library into a different subfield. Potential issue is that this could be disruptive to some exports if both $bs are in use by someone.

b) provide an option to suppress the owning library

tags: added: cat-importexport cataloging
Galen Charlton (gmc)
Changed in evergreen:
importance: Low → Medium
status: New → Confirmed
Revision history for this message
Galen Charlton (gmc) wrote :

One way to do it to preserve backwards compatibility would be to have marc_export (and Supercat) add the owning library and circulating library to new, additional subfields while still retaining the two 852 $b.

The tradeoff would be the result permitting fewer items to be embedded in the MARC record before running into the ISO 2709 limit.

Alternatively: add command-=line options to marc_export (easy) and library settings for Supercat output to tune this, though the more options we add, the more that going to the effort of creating item record MARC embedding templates would be desirable.

Revision history for this message
Jason Stephenson (jstephenson) wrote :

My pedantic self wants to say 852 $b is repeatable, so the discovery layer needs to just deal with it.

I would be OK with:

1. Just using the circ library from asset.copy and dropping the owning library.
2. Making it optional, via command line, to show one or the other, both if not specified.
3. Making circ library the default and adding an option to add the owning library, or to show owning library instead.

That's in order from most to least preferred change.

Revision history for this message
Galen Charlton (gmc) wrote :

We have a use case for going by owning library, not circ lib, so #1 isn't ideal.

My proposal based on your feedback:

- marc_export: add a new switch to provide options for the circ & owning lib handling, with the status quo being preserved if the new switch isn't added.

- Supercat: add library settings or global flags to match, but keep it light-weight. However, thinking about it more, the Supercat bit is optionally, perhaps, as the discovery layer in question (Aspen) is already looking at the additional holdings XML emitted by the marcxml-full option, so the contents of the 852 (for incremental updates) don't matter at present.

Revision history for this message
Galen Charlton (gmc) wrote :

A patch adding a switch along the lines I've suggested is available in user/gmcharlt/lp2004587_marc_export_852b / https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/gmcharlt/lp2004587_marc_export_852b

Note that while this branch is on top of the branch for bug 2015484, there's no logical dependency between the two pull requests.

tags: added: pullrequest
Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

I've done some testing with this branch and it seems to work as described. I tried an export with the various options with items that have different owning and circ libs and things look correct.

<option omitted> works the same as --852b both.
--852b both - shows both, owning_lib first and circ_lib second.
--852b owning_lib - works as described.
--852b circ_lib - works as described.

Here is a signoff branch at
user/stompro/lp2004587_marc_export_852b_signoff

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/stompro/lp2004587_marc_export_852b_signoff

Josh

tags: added: signedoff
Changed in evergreen:
assignee: nobody → Jason Stephenson (jstephenson)
Revision history for this message
Jason Stephenson (jstephenson) wrote :

I have been looking at this one and a couple of other marc_export patches over the past couple of weeks, and this one does what it says on the tin.

I've pushed it to main for future Evergreen releases.

Thanks, Galen and Josh!

Changed in evergreen:
milestone: none → 3.12-beta
assignee: Jason Stephenson (jstephenson) → nobody
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.