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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 19 12:25:00 CEST 2014


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

--- Comment #23 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 28991
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28991&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

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


More information about the Koha-bugs mailing list