[Koha-bugs] [Bug 21272] MARC import should warn about mis-matched branch during staged import
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 21 17:46:26 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21272
--- Comment #13 from Matthias Le Gac <matthias.le-gac at inlibro.com> ---
Created attachment 163646
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163646&action=edit
Bug 21272: Change warning message
To test
Before make sure backgroundjobs process is running
(/misc/workers/background_jobs_worker.pl --queue long_tasks)
1- Go to Cataloging -> Stage records for import
2 - Upload a MARC file (koha.mrc) that contain items with homebranch and/or
homelibraary set and is not present in your installation
3- Click on Stage for import
4- Click on View batch
--> There is no message for the missing branches
5- Click on "Import this batch into the catalog"
--> The importation failed
6- Apply the patch
7- Run prove -t t/db_dependent/ImportBatch.t
8- Click on "Manage imported batch"
--> There is a warning message showing the missing branches in a link
9- Click on "Import this batch into the catalog" again
--> The records are imported
--> The items with wrong branches are ignored
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list