Bug 26932

Summary: Importing staged bibliographic MARC records does not show a completed status if there are any item records to stage
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: MARC Bibliographic record staging/importAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: david, dcook, jonathan.druart, patrick.robitaille
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: MARC with no item records
MARC with item records

Description Aleisha Amohia 2020-11-05 00:15:37 UTC
Created attachment 113025 [details]
MARC with no item records

Important: imported does WORK but the completed message never shows. It just hangs on 0% when importing. However if you give it some time and do a search, the imported record shows in search results.

We see the completed message if importing a staged record that has no item records.
We do NOT see the completed message if importing a staged record that DOES have item records.

I've attached two sample records to test with.
Comment 1 Aleisha Amohia 2020-11-05 00:15:55 UTC
Created attachment 113026 [details]
MARC with item records
Comment 2 David Nind 2022-05-14 22:41:43 UTC
Can confirm that this is still the case in master - a record with items hangs at 0%, the record is added, but no items are added.

Note: I saw this bug, and thought bug 30520 might solve this - but it doesn't.
Comment 3 Jonathan Druart 2023-05-10 12:04:40 UTC
This is working correctly for me.