[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:36:41 CEST 2022


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

--- Comment #23 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. service koha-common restart
#NOTE: We need to restart starman/Plack and the koha workers

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. Click "View batch" (or go to "Staged MARC management" and find the batch
you were interested in)

11. Change "Matching rule applied" to "KohaBiblio (999$c)"
12. Change "Action if matching record found" to "Replace existing record with
incoming record"
13. Change "Item processing" to "Ignore items"[1]
14. Click "Apply different matching rules"
15. Click "Import this batch into the catalog"
16. Click "View detail of the enqueued job"[2]
17. Note "Number of records updated" is "1"

[1] not sure if this is a bug in these patches or if this is pre-existing. It
sounds pre-existing iirc...
[2] The text in this window isn't very user friendly. I think we could use more
job-specific text.

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


More information about the Koha-bugs mailing list