Bug 40340 - Backslashes next to a subfield ($) breaks staging
Summary: Backslashes next to a subfield ($) breaks staging
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-10 16:49 UTC by Enica Davis
Modified: 2025-07-10 16:49 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Test MARC file (542 bytes, text/plain)
2025-07-10 16:49 UTC, Enica Davis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enica Davis 2025-07-10 16:49:06 UTC
Created attachment 183951 [details]
Test MARC file

If you have a backslash next to a subfield in the data, the staging will fail if you are using the tag as a record matching rule.  Most commonly, matching on 245$a (title or title-cover).

For instance, in the attached file, there is a backslash right before $h

=245  00$aKnights of the black earth \$h[Book]

If you have 245 as matching rule, the import batch will fail.