[Bug 9839] New: when importing MARC records, item record not created even when set to "always add"
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 Bug ID: 9839 Summary: when importing MARC records, item record not created even when set to "always add" Classification: Unclassified Change sponsored?: --- Product: Koha Version: 3.10 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: MARC Bibliographic record staging/import Assignee: gmcharlt@gmail.com Reporter: melia@bywatersolutions.com Created attachment 16308 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16308&action=edit screenshot of no items added with item processing set to always add In 3.10.3, I am importing staged MARC records from Tools with these settings. Matching rule: ISBN (020$a) Action if matching record found: Ignore incoming record (its items may still be processed) Action if no match found: Ignore incoming record (its items may still be processed) Item processing: Always add items When I import a matching record, zero items are added. (See attached screenshot.) I expected the items to be processed anyway. Is this a bug? If I change "Action if matching record found" to something other than "Ignore," then an item record is created in that case. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 Melia Meggs <melia@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |major -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 --- Comment #1 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16948 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16948&action=edit Bug 9839 - when importing MARC records, item record not created even when set to "always add" Test Plan: 1) Catalog a new record with an ISBN 2) Add some items to the record 3) Download the record as MARCXML 4) Delete the itemnumbers from the 952 fields in the record, Change the barcode fields to unused barcodes 5) Use xml2marc to save as a standard MARC file 6) Import the record using the 'Stage MARC for import' tool Use the settings: Record matching rule: ISBN Action if matching record found: ignore Action if no match found: ignore Item processing: always_add Check for embedded item record data?: Yes How to process items: Always add items 7) Import, note the bib is ignored, and the items are not processed 8) Undo import into catalog 8) Apply this patch 9) Import this batch into the catalog 10) Note the items were processed and are now added to the matching record -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 Kyle M Hall <kyle.m.hall@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle.m.hall@gmail.com Patch complexity|--- |Trivial patch Assignee|gmcharlt@gmail.com |kyle.m.hall@gmail.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 --- Comment #2 from Kyle M Hall <kyle.m.hall@gmail.com> --- I'm sure there are other ways to test this, but this is the method I used. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 mathieu saby <mathieu.saby@univ-rennes2.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |mathieu.saby@univ-rennes2.f | |r --- Comment #3 from mathieu saby <mathieu.saby@univ-rennes2.fr> --- I tested with unimarc record, following your test plan (except the items are stored in 995 and not in 952). It works well. This issue was very annoying for us! Thank you Kyle. Mathieu Saby Rennes 2 University -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 mathieu saby <mathieu.saby@univ-rennes2.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16948|0 |1 is obsolete| | --- Comment #4 from mathieu saby <mathieu.saby@univ-rennes2.fr> --- Created attachment 16952 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16952&action=edit [PATCH][SIGNED OFF] Bug 9839 - when importing MARC records, item record not created even when set to "always add" -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 Frédéric Demians <frederic@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic@tamil.fr --- Comment #5 from Frédéric Demians <frederic@tamil.fr> --- I confirm the bug, ad the solution. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16952|0 |1 is obsolete| | --- Comment #6 from Mason James <mtj@kohaaloha.com> --- Created attachment 17439 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17439&action=edit Bug 9839 - when importing MARC records, item record not created even when set to "always add" Test Plan: 1) Catalog a new record with an ISBN 2) Add some items to the record 3) Download the record as MARCXML 4) Delete the itemnumbers from the 952 fields in the record, Change the barcode fields to unused barcodes 5) Use xml2marc to save as a standard MARC file 6) Import the record using the 'Stage MARC for import' tool Use the settings: Record matching rule: ISBN Action if matching record found: ignore Action if no match found: ignore Item processing: always_add Check for embedded item record data?: Yes How to process items: Always add items 7) Import, note the bib is ignored, and the items are not processed 8) Undo import into catalog 8) Apply this patch 9) Import this batch into the catalog 10) Note the items were processed and are now added to the matching record Signed-off-by: Mathieu Saby <mathieu.saby@univ-rennes2.fr> Tested with UNIMARC record. I followed the test plan, just changing 952 by 995 Signed-off-by: Mason James <mtj@kohaaloha.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtj@kohaaloha.com --- Comment #7 from Mason James <mtj@kohaaloha.com> --- (In reply to comment #6)
Created attachment 17439 [details] [review] Bug 9839 - when importing MARC records, item record not created even when set to "always add" Signed-off-by: Mason James <mtj@kohaaloha.com>
patch looks good - passing QA on this patch... -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 --- Comment #8 from Mason James <mtj@kohaaloha.com> ---
patch looks good - passing QA on this patch...
fyi: this bug should probably have its version updated from '3.10' to 'master' -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Version|3.10 |master --- Comment #9 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Updating version as Mason suggested. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #10 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- This patch has been pushed to master and 3.12.x. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9839 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable CC| |chris@bigballofwax.co.nz --- Comment #11 from Chris Cormack <chris@bigballofwax.co.nz> --- Pushed to 3.10.x will be in 3.10.6 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org