[Koha-bugs] [Bug 11319] Marc modification templates improvements
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 3 19:32:45 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11319
--- Comment #29 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 29500
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29500&action=edit
[PASSED QA] Bug 11319: Add specific UT for nonexistent field/subfield
This patch only adds unit tests for the copy and move actions.
They test if the action does not create a field/subfield if the source
did not exist.
Also it adds a unit tests for the existing behavior (in order not to
lost it): we can use the '^' and the '$' character in regex for
substituing. For example: Copy 245$a to 245$a with the regex s/^/BEGIN /
This will add the string "BEGIN " at the beginning of the 245$a fields.
To test: prove t/SimpleMARC.t
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list