Bug 14724 - Manage Staged MARC Records stuck at 0% on Koha 3.12.04.000
Summary: Manage Staged MARC Records stuck at 0% on Koha 3.12.04.000
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Bibliographic record staging/import (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-25 14:23 UTC by jesus
Modified: 2017-06-14 22:10 UTC (History)
1 user (show)

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


Attachments
Screenshot job progress stuck at 0% (134.25 KB, application/pdf)
2015-08-25 14:23 UTC, jesus
Details
MARC21 records that cause the issue (12.58 KB, application/marc)
2015-08-25 14:24 UTC, jesus
Details

Note You need to log in before you can comment on or make changes to this bug.
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.