[Koha-bugs] [Bug 21272] MARC import should warn about mis-matched branch and item-type fields in 952 during staged import
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 12 05:35:29 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21272
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #155038|0 |1
is obsolete| |
--- Comment #5 from David Nind <david at davidnind.com> ---
Created attachment 155523
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155523&action=edit
Bug 21272: MARC import should warn about mis-matched branch and item-type
fields in 952 during staged import
This plugin add a warning message to show missing branches during staged
import, it also ignore item with wrong banches.
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
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list