Bug 39413 - Add a check for item fields in biblio MARC records
Summary: Add a check for item fields in biblio MARC records
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Nick Clemens (kidclamp)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-21 16:35 UTC by Nick Clemens (kidclamp)
Modified: 2025-03-21 16:38 UTC (History)
2 users (show)

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


Attachments
Bug 39413: Add a check for item fields in MARC records to data inconsistencies script (2.75 KB, patch)
2025-03-21 16:38 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2025-03-21 16:35:08 UTC
See bug 39412 - we will need a script to help cleanup from possible bad data created
Comment 1 Nick Clemens (kidclamp) 2025-03-21 16:38:21 UTC
Created attachment 179628 [details] [review]
Bug 39413: Add a check for item fields in MARC records to data inconsistencies script

This patch adds a new test to the data inconsistencies script to report where
MARC records contain item fields.

These may not cause issues in Koha, however, in discovery harvests they have eben found to create errors

To test:
1 - Follow test plan on bug 39412 to generate records with item tags
2 - perl misc/maintenance/search_for_data_inconsistencies.pl
3 - Note new section and hint on how to fix
4 - perl misc/maintenance/touch_all_biblios.pl
5 - repeat 2
6 - Errors cleared