Bug 40340

Summary: Backslashes next to a subfield ($) breaks staging
Product: Koha Reporter: Enica Davis <enica>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: m.de.rooy
Version: unspecified   
Hardware: All   
OS: All   
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

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.