[Koha-bugs] [Bug 11319] Marc modification templates improvements

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 31 11:30:32 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11319

--- Comment #50 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 33041
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33041&action=edit
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>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list