[Koha-bugs] [Bug 26235] Allow to skip records when using bulkmarcimport.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26235 Lucas Gass changed: What|Removed |Added CC||lu...@bywatersolutions.com Status|Needs Signoff |Patch doesn't apply -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 26235] Allow to skip records when using bulkmarcimport.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26235 Matthias Meusburger changed: What|Removed |Added Attachment #116404|0 |1 is obsolete|| -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 26235] Allow to skip records when using bulkmarcimport.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26235 --- Comment #5 from Matthias Meusburger --- This patch fixes Bug number in commit message, sorry about that. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 26235] Allow to skip records when using bulkmarcimport.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26235 --- Comment #4 from Matthias Meusburger --- Created attachment 116406 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116406=edit Bug 26235: Allow to skip records when using bulkmarcimport.pl This patch allows to prevent records from being imported by bulkmarcimport.pl when a given value is present. Two options are added: -incomingfilter: prevent the script from importing a record when a given value is present in the record to be imported. -localfilter: prevent the script from importing a record when a given value is present in the koha record that would be replaced by the record to be imported. They both accept the following specificaton: '$=' Test plan: 1) Apply this patch 2) Launch bulkmarcimport.pl with the following option: -incomingfilter='152$b=rameau' 3) Check that the incoming records with at least a 152$b equal to 'rameau' are skipped. The following message will be displayed for each skipped record if debug is enabled: Discarding record (incoming record contains 152$b = rameau) 4) Repeat step 2 with localfilter: -localfilter='152$b=rameau' Check that incoming records are skipped when the koha record they would replace contains at least a 152$b equal to 'rameau'. 5) Launch bulkmarcimport.pl with an invalid configuration, like: -incomingfilter='incorrect_specification' or -localfilter='incorrect_specification' 6) Check that an error message is displayed and that the script exits. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 26235] Allow to skip records when using bulkmarcimport.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26235 --- Comment #3 from Matthias Meusburger --- This new patch adds log messages. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 26235] Allow to skip records when using bulkmarcimport.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26235 Matthias Meusburger changed: What|Removed |Added Attachment #108503|0 |1 is obsolete|| --- Comment #2 from Matthias Meusburger --- Created attachment 116404 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116404=edit MT26327: Allow to skip records when using bulkmarcimport.pl This patch allows to prevent records from being imported by bulkmarcimport.pl when a given value is present. Two options are added: -incomingfilter: prevent the script from importing a record when a given value is present in the record to be imported. -localfilter: prevent the script from importing a record when a given value is present in the koha record that would be replaced by the record to be imported. They both accept the following specificaton: '$=' Test plan: 1) Apply this patch 2) Launch bulkmarcimport.pl with the following option: -incomingfilter='152$b=rameau' 3) Check that the incoming records with at least a 152$b equal to 'rameau' are skipped. The following message will be displayed for each skipped record if debug is enabled: Discarding record (incoming record contains 152$b = rameau) 4) Repeat step 2 with localfilter: -localfilter='152$b=rameau' Check that incoming records are skipped when the koha record they would replace contains at least a 152$b equal to 'rameau'. 5) Launch bulkmarcimport.pl with an invalid configuration, like: -incomingfilter='incorrect_specification' or -localfilter='incorrect_specification' 6) Check that an error message is displayed and that the script exits. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 26235] Allow to skip records when using bulkmarcimport.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26235 Martin Renvoize changed: What|Removed |Added See Also||https://bugs.koha-community ||.org/bugzilla3/show_bug.cgi ||?id=25539 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 26235] Allow to skip records when using bulkmarcimport.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26235 Matthias Meusburger changed: What|Removed |Added Status|NEW |Needs Signoff Assignee|koha-b...@lists.koha-commun |matthias.meusburger@biblibr |ity.org |e.com -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 26235] Allow to skip records when using bulkmarcimport.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26235 --- Comment #1 from Matthias Meusburger --- Created attachment 108503 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=108503=edit MT26327: Allow to skip records when using bulkmarcimport.pl This patch allows to prevent records from being imported by bulkmarcimport.pl when a given value is present. Two options are added: -incomingfilter: prevent the script from importing a record when a given value is present in the record to be imported. -localfilter: prevent the script from importing a record when a given value is present in the koha record that would be replaced by the record to be imported. They both accept the following specificaton: '$=' Test plan: 1) Apply this patch 2) Launch bulkmarcimport.pl with the following option: -incomingfilter='152$b=rameau' 3) Check that the incoming records with at least a 152$b equal to 'rameau' are skipped. The following message will be displayed for each skipped record if debug is enabled: Discarding record (incoming record contains 152$b = rameau) 4) Repeat step 2 with localfilter: -localfilter='152$b=rameau' Check that incoming records are skipped when the koha record they would replace contains at least a 152$b equal to 'rameau'. 5) Launch bulkmarcimport.pl with an invalid configuration, like: -incomingfilter='incorrect_specification' or -localfilter='incorrect_specification' 6) Check that an error message is displayed and that the script exits. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/