http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11319 --- Comment #50 from M. de Rooy <m.de.rooy@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@bywatersolutions.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.