Bug 39647 - Koha incorrectly says MARC import staging failed if all bibs were skipped due to matching rules
Summary: Koha incorrectly says MARC import staging failed if all bibs were skipped due...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Emily Lamancusa (emlam)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-15 20:13 UTC by Emily Lamancusa (emlam)
Modified: 2025-04-15 20:13 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

Note You need to log in before you can comment on or make changes to this bug.
Description Emily Lamancusa (emlam) 2025-04-15 20:13:14 UTC
When staging a MARC file for import, one might choose to ignore the incoming record if a match is found in the catalog, but still process items - for example, when purchasing additional items for existing bib records.

Currently, the MARC staging background job measures its progress based on how many bib records were processed, and does not account for item processing in its progress measurement at all. If 0 record were processed, it is assumed that the import failed and displayed as such.

However, this is incorrect in the case where the incoming records were supposed to be ignored at the bib level and only items should be added. It is confusing to staff when they see an error message seeing that the import staging failed, when in fact it went through as intended.