[Koha-bugs] [Bug 27421] Porting tools/stage-marc-import.pl to BackgroundJob

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 17 07:23:26 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27421

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Discussion               |Failed QA

--- Comment #19 from David Cook <dcook at prosentient.com.au> ---
My test plan:
0. Apply patches
1. Comment out the following lines in
/etc/koha/apache-shared-intranet-plack.conf:
ProxyPass "/cgi-bin/koha/tools/manage-marc-import.pl" "!"
ProxyPass "/cgi-bin/koha/tools/stage-marc-import.pl" "!"
2. service apache2 reload
3. koha-plack --restart kohadev
4. Go to
http://localhost:8081/cgi-bin/koha/catalogue/export.pl?format=marcxml&op=export&bib=29
5. Go to http://localhost:8081/cgi-bin/koha/tools/stage-marc-import.pl
6. Upload bib-29.marcxml file
7. Change "How to process items" to "Ignore items"
8. Click "Stage for import"
9. Click "View detail of the enqueued job"
10. Note that a job has been created in Koha at
http://localhost:8081/cgi-bin/koha/admin/background_jobs.pl?op=view&id=1

However, the job isn't getting processed. Note the following in
/var/log/koha/kohadev/worker-output.log:

Exception 'Koha::Exception' thrown 'stage_marc_for_import is not a valid
job_type'

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list