Bug 39413 - Add a check for item fields in bibliographic MARC records
Summary: Add a check for item fields in bibliographic MARC records
Status: Pushed to main
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: Martin Renvoize (ashimema)
URL:
Keywords: release-notes-needed
Depends on:
Blocks:
 
Reported: 2025-03-21 16:35 UTC by Nick Clemens (kidclamp)
Modified: 2025-05-12 16:32 UTC (History)
4 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
25.05.00
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
Bug 39413: Add a check for item fields in MARC records to data inconsistencies script (2.80 KB, patch)
2025-04-01 14:29 UTC, Magnus Enger
Details | Diff | Splinter Review
Bug 39413: Add a check for item fields in MARC records to data inconsistencies script (2.87 KB, patch)
2025-05-12 12:42 UTC, Martin Renvoize (ashimema)
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 Comment hidden (obsolete)
Comment 2 Magnus Enger 2025-04-01 14:29:13 UTC
Created attachment 180204 [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

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Comment 3 Martin Renvoize (ashimema) 2025-05-12 12:42:24 UTC
Created attachment 182268 [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

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Comment 4 Katrin Fischer 2025-05-12 16:32:11 UTC
Pushed for 25.05!

Well done everyone, thank you!