[Koha-bugs] [Bug 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 --- Comment #19 from Victor Grousset/tuxayo--- (In reply to Nick Clemens on IRC) > ideally you would test all the options just to ensure I didn't break anything > unintentionally, but if any other option worked it would seem features are > intact I tried to play with the copy function, but that failed (even on the 17.11) so due to lack of functional knowledge I can't improvise more than that. But that doesn't seem a big issue. So this would be reading for being QAed if I understand correctly. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 --- Comment #18 from Victor Grousset/tuxayo--- I forgot to sign off the first two patches. So here they are. To no loose my previous comment: As for step «14 - Test various options in the modification tool» I only moved one field to another to ensure that the target is overwritten without error. Is that enough? -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Victor Grousset/tuxayochanged: What|Removed |Added Attachment #70613|0 |1 is obsolete|| --- Comment #17 from Victor Grousset/tuxayo --- Created attachment 71117 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71117=edit Bug 13560: Add an 'Add' option for marc modification templates Add/Update would update a field or create new if it existed, but didn't allow for creating new if the field existed. This patchset splits the options to 'Add & Update' so that 'Add' will always add a field and 'Update' will operate as it always has To test: 1 - Have a record with a known existing field (make a copy) 2 - Define a marc modification template that 'Add/update' on that field 3 - Define an 'Add/Update' on a field that doesn't exist 4 - Batch modify the copy of record using the above template 5 - Verify the existing field was updated 6 - Verify the non-existing field was updated 7 - Apply patch and update database 8 - Make another copy 9 - Modify the copy with the same template as above 10 - Should match initial modification 11 - Add a new rule to add a new field 12 - Modify using the updated template 13 - Ensure your new field is created 14 - Test various options in the modification tool 15 - prove t/db_dependent/MarcModificationTemplates.t Signed-off-by: Victor Grousset -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Victor Grousset/tuxayochanged: What|Removed |Added Attachment #70563|0 |1 is obsolete|| --- Comment #16 from Victor Grousset/tuxayo --- Created attachment 71116 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71116=edit Bug 13560 - Unit tests To test: 1 - apply all patches 2 - update database 3 - prove t/db_dependent/MarcModificationTemplates.t Signed-off-by: Victor Grousset -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Victor Grousset/tuxayochanged: What|Removed |Added Attachment #70562|0 |1 is obsolete|| --- Comment #15 from Victor Grousset/tuxayo --- Created attachment 71115 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71115=edit Bug 13560 - Database changes Signed-off-by: Victor Grousset -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Victor Grousset/tuxayochanged: What|Removed |Added Status|Needs Signoff |Signed Off --- Comment #14 from Victor Grousset/tuxayo --- As for step «14 - Test various options in the modification tool» I only moved one field to another to ensure that the target is overwritten without error. Is that enough? -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Victor Grousset/tuxayochanged: What|Removed |Added Attachment #70564|0 |1 is obsolete|| --- Comment #13 from Victor Grousset/tuxayo --- Created attachment 70613 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70613=edit Bug 13560: Add an 'Add' option for marc modification templates Add/Update would update a field or create new if it existed, but didn't allow for creating new if the field existed. This patchset splits the options to 'Add & Update' so that 'Add' will always add a field and 'Update' will operate as it always has To test: 1 - Have a record with a known existing field (make a copy) 2 - Define a marc modification template that 'Add/update' on that field 3 - Define an 'Add/Update' on a field that doesn't exist 4 - Batch modify the copy of record using the above template 5 - Verify the existing field was updated 6 - Verify the non-existing field was updated 7 - Apply patch and update database 8 - Make another copy 9 - Modify the copy with the same template as above 10 - Should match initial modification 11 - Add a new rule to add a new field 12 - Modify using the updated template 13 - Ensure your new field is created 14 - Test various options in the modification tool 15 - prove t/db_dependent/MarcModificationTemplates.t Signed-off-by: Victor Grousset -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Nick Clemenschanged: What|Removed |Added Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 --- Comment #10 from Nick Clemens--- Created attachment 70563 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70563=edit Bug 13560 - Unit tests To test: 1 - apply all patches 2 - update database 3 - prove t/db_dependent/MarcModificationTemplates.t -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 --- Comment #11 from Nick Clemens--- Created attachment 70564 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70564=edit Bug 13560: Add an 'Add' option for marc modification templates Add/Update would update a field or create new if it existed, but didn't allow for creating new if the field existed. This patchset splits the options to 'Add & Update' so that 'Add' will always add a field and 'Update' will operate as it always has To test: 1 - Have a record with a known existing field (make a copy) 2 - Define a marc modification template that 'Add/update' on that field 3 - Define an 'Add/Update' on a field that doesn't exist 4 - Batch modify the copy of record using the above template 5 - Verify the existing field was updated 6 - Verify the non-existing field was updated 7 - Apply patch and update database 8 - Make another copy 9 - Modify the copy with the same template as above 10 - Should match initial modification 11 - Add a new rule to add a new field 12 - Modify using the updated template 13 - Ensure your new field is created 14 - Test various options in the modification tool 15 - prove t/db_dependent/MarcModificationTemplates.t -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 --- Comment #12 from Nick Clemens--- fixed the conflict, split the patches, added DB update to instructions -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Nick Clemenschanged: What|Removed |Added Attachment #68540|0 |1 is obsolete|| --- Comment #9 from Nick Clemens --- Created attachment 70562 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70562=edit Bug 13560 - Database changes -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 --- Comment #8 from Victor Grousset/tuxayo--- Does anyone know which value should be elected between the conflicting commits? (or maybe if another one should) -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Victor Grousset/tuxayochanged: What|Removed |Added Status|Needs Signoff |Patch doesn't apply CC||victor.grous...@biblibre.co ||m --- Comment #7 from Victor Grousset/tuxayo --- Conflict when applying the patch. In t/db_dependent/MarcModificationTemplates.t <<< ff82c9aadc441f9ca18dcad2e58783e733cdd839 (from November 3 on master) use Test::More tests => 96; ||| merged common ancestors use Test::More tests => 95; === use Test::More tests => 114; >>> Bug 13560 - need an add option in marc modification templates (this patch's version) -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Jon Knightchanged: What|Removed |Added CC||j.p.kni...@lboro.ac.uk --- Comment #6 from Jon Knight --- When I try to do step 11 in the test plan, the rule created comes out as "Delete" rather than "Add new". Similarly, if I try to edit the rule to make it "Add new" it goes back to "Delete" once the "Update action" button is pressed in the "Edit action 3" dialog box. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Nick Clemenschanged: What|Removed |Added Attachment #64808|0 |1 is obsolete|| --- Comment #5 from Nick Clemens --- Created attachment 68540 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68540=edit Bug 13560 - need an add option in marc modification templates Add/Update would update a field or create new if it existed, but didn't allow for creating new if the field existed. This patchset splits the options to Add & Update so that add will always add a field and Update will operate as it always has To test: 1 - Have a record with a known existing field (make a copy) 2 - Define a marc modification template that 'Add/update' on that field 3 - Define an 'Add/Update' on a field that doesn't exist 4 - Batch modify the copy of record using the above template 5 - Verify the existing field was updated 6 - Verify the non-existing field was updated 7 - Apply patch 8 - Make another copy 9 - Modify the copy with the same template as above 10 - Should match initial modification 11 - Add a new rule to add a new field 12 - Modify using the updated template 13 - Ensure your new field is created 14 - Test various options in the modification tool 15 - prove t/db_dependent/MarcModificationTemplates.t -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Nick Clemenschanged: What|Removed |Added Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Katrin Fischerchanged: What|Removed |Added Status|Needs Signoff |Failed QA CC||katrin.fisc...@bsz-bw.de --- Comment #4 from Katrin Fischer --- I think Update is not quite right as the option actually adds a field when it doesn't exist yet. I have used it to add items with different subfields a lot of times. Maybe it needs a better description - Add or update? -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 delayechanged: What|Removed |Added CC||stephane.del...@biblibre.co ||m --- Comment #3 from delaye --- when i use the tool (step 12) i have this message Software error: Template process failed: undef error - The method itemnumbers is not covered by tests! at /home/koha/src/C4/Templates.pm line 121. And when i want add the rule 'Add' in the template(step11) , koha fix the rule delete -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Nick Clemenschanged: What|Removed |Added CC||n...@bywatersolutions.com Assignee|gmcha...@gmail.com |n...@bywatersolutions.com Change sponsored?|--- |Sponsored -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Nick Clemenschanged: What|Removed |Added Status|NEW |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 --- Comment #2 from Nick Clemens--- Created attachment 64808 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64808=edit Bug 13560 - need an add option in marc modification templates Add/Update would update a field or create new if it existed, but didn't allow for creating new if the field existed. This patchset splits the options to Add & Update so that add will always add a field and Update will operate as it always has To test: 1 - Have a record with a known existing field (make a copy) 2 - Define a marc modification template that 'Add/update' on that field 3 - Define an 'Add/Update' on a field that doesn't exist 4 - Batch modify the copy of record using the above template 5 - Verify the existing field was updated 6 - Verify the non-existing field was updated 7 - Apply patch 8 - Make another copy 9 - Modify the copy with the same template as above 10 - Should match initial modification 11 - Add a new rule to add a new field 12 - Modify using the updated template 13 - Ensure your new field is created 14 - Test various options in the modification tool 15 - prove t/db_dependent/MarcModificationTemplates.t -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Fridolin SOMERSchanged: What|Removed |Added CC||fridolin.som...@biblibre.co ||m Severity|normal |enhancement --- Comment #1 from Fridolin SOMERS --- This is an enhancement -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Marjorie Barry-Vilachanged: What|Removed |Added CC||marjorie.barry-v...@ccsr.qc ||.ca -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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 13560] need an add option in marc modification templates
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13560 Nicole C. Engard neng...@gmail.com changed: What|Removed |Added See Also||http://bugs.koha-community. ||org/bugzilla3/show_bug.cgi? ||id=14098 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/