[Bug 32174] New: bulkmarcimport.pl ignore items info when using -update
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32174 Bug ID: 32174 Summary: bulkmarcimport.pl ignore items info when using -update Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: pablo.bianchi@gmail.com QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz Using this command: /usr/share/koha/bin/migration_tools/bulkmarcimport.pl -v -insert -biblios -framework "BKS" -file /home/me/books.mrc -l /tmp/books.log works fine. If changes are made (on normal fields and on 952) on MRC and then we run: /usr/share/koha/bin/migration_tools/bulkmarcimport.pl -v -match Control-number,001 -update -biblios -framework "BKS" -file /home/me/books.mrc -l /tmp/books.log the information is update/overwritten, but *only at biblio level*. Item info remains untouched. The solution maybe could be to add a --add-items-if-match option. To include -all option and have consistency with web interface --add-items-if-nomatch and --add-items-always could be added. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32174 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Pablo, there are scripts that mimick the staged import that are probably better suited for this task: stage_file.pl and commit_file.pl To my knowledge matching/updating items was not developed for bulkmarcimport.pl yet, which would make this an enhancement. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32174 --- Comment #2 from Pablo AB <pablo.bianchi@gmail.com> --- Thanks Katrin! Being 952 field part of the imported records, users might think that, by default, bulkmarcimport will update the whole record. In this scenario (mismatch between what's expected and what happen) could be considered a bug. Would be nice at least a warning (perldoc on script and on the manual). -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org