Bug 16498 - Cannot process uploaded offline circulation file
Summary: Cannot process uploaded offline circulation file
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low major (vote)
Assignee: Bugs List
QA Contact: Testopia
URL: /cgi-bin/koha/offline_circ/process_ko...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-11 13:13 UTC by Owen Leonard
Modified: 2019-06-27 09:24 UTC (History)
2 users (show)

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


Attachments
Screenshot showing background-job-progress.pl requests (163.70 KB, image/png)
2016-05-11 13:13 UTC, Owen Leonard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2016-05-11 13:13:40 UTC
Created attachment 51423 [details]
Screenshot showing background-job-progress.pl requests

I have created an offline circulation file via the Windows application ("Version=1.0	Generator=kocDesktop	GeneratorVersion=1.3" containing checkouts. After uploading the file, both methods of processing the file fail. 

Choosing "Add to offline circulation queue" results in an error:

Can't use an undefined value as an ARRAY reference at /offline_circ/enqueue_koc.pl line 146, <GEN36> line 7.

The error log has:

Use of uninitialized value $command in hash element at /offline_circ/enqueue_koc.pl line 175, <GEN36> line 7.
Can't use an undefined value as an ARRAY reference at /offline_circ/enqueue_koc.pl line 146, <GEN36> line 7.

If I start over and choose the "Apply directly" button instead, the job progress never gets past 0%. Firebug shows a never-ending succession of queries to background-job-progress.pl (see attached screenshot).
Comment 1 Owen Leonard 2016-05-11 13:25:40 UTC
Never mind, my .koc file got munged when I moved it from Windows to my VM.