Bug 14724

Summary: Manage Staged MARC Records stuck at 0% on Koha 3.12.04.000
Product: Koha Reporter: jesus
Component: MARC Bibliographic record staging/importAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: liz
Version: unspecified   
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: Screenshot job progress stuck at 0%
MARC21 records that cause the issue

Description jesus 2015-08-25 14:23:05 UTC
Created attachment 41920 [details]
Screenshot job progress stuck at 0%

Using no matchig rule while importing a staged batch, the Manage Staged MARC Records gets stuck at 0%. I can see a www-data owned background job running but the browser is stuck at 0% and no entries in the db. Tried leaving it overnight with no progress. Tried with ie and chrome. 

Same MARC file is imported fine in EOS.web.

See attached records (only 8) in MARC21 format causing the issue.
See attached screenshot for rules used during this import.
Comment 1 jesus 2015-08-25 14:24:37 UTC
Created attachment 41922 [details]
MARC21 records that cause the issue
Comment 2 jesus 2015-08-25 14:42:35 UTC
Bulk-importing the records cause these errors:

kobli@especializadas:/home/www/kobli/bin/migration_tools$ ./bulkmarcimport.pl -b -v -file=./koha.8.records.stuck.mrc
.Use of uninitialized value $biblionumber in concatenation (.) or string at ./bulkmarcimport.pl line 382, <GEN13> line 1.
ERROR: Adding biblio  failed: Can't call method "field" on an undefined value at /home/www/kobli/lib/C4/Biblio.pm line 3736, <GEN13> line 1.

.Use of uninitialized value $biblionumber in concatenation (.) or string at ./bulkmarcimport.pl line 382, <GEN13> line 2.
ERROR: Adding biblio  failed: Can't call method "field" on an undefined value at /home/www/kobli/lib/C4/Biblio.pm line 3736, <GEN13> line 2.

.Use of uninitialized value $biblionumber in concatenation (.) or string at ./bulkmarcimport.pl line 382, <GEN13> line 3.
ERROR: Adding biblio  failed: Can't call method "field" on an undefined value at /home/www/kobli/lib/C4/Biblio.pm line 3736, <GEN13> line 3.

.Use of uninitialized value $biblionumber in concatenation (.) or string at ./bulkmarcimport.pl line 382, <GEN13> line 4.
ERROR: Adding biblio  failed: Can't call method "field" on an undefined value at /home/www/kobli/lib/C4/Biblio.pm line 3736, <GEN13> line 4.

.Use of uninitialized value $biblionumber in concatenation (.) or string at ./bulkmarcimport.pl line 382, <GEN13> line 5.
ERROR: Adding biblio  failed: Can't call method "field" on an undefined value at /home/www/kobli/lib/C4/Biblio.pm line 3736, <GEN13> line 5.

.Use of uninitialized value $biblionumber in concatenation (.) or string at ./bulkmarcimport.pl line 382, <GEN13> line 6.
ERROR: Adding biblio  failed: Can't call method "field" on an undefined value at /home/www/kobli/lib/C4/Biblio.pm line 3736, <GEN13> line 6.

.Use of uninitialized value $biblionumber in concatenation (.) or string at ./bulkmarcimport.pl line 382, <GEN13> line 7.
ERROR: Adding biblio  failed: Can't call method "field" on an undefined value at /home/www/kobli/lib/C4/Biblio.pm line 3736, <GEN13> line 7.

.Use of uninitialized value $biblionumber in concatenation (.) or string at ./bulkmarcimport.pl line 382, <GEN13> line 8.
ERROR: Adding biblio  failed: Can't call method "field" on an undefined value at /home/www/kobli/lib/C4/Biblio.pm line 3736, <GEN13> line 8.
Comment 3 Liz Rea 2016-09-15 01:24:20 UTC
This is fixed in later versions, and 3.12 is no longer supported.