[Koha-bugs] [Bug 13437] Convert marc21 framework plugins to new style

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 14 19:38:16 CEST 2015


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39141|0                           |1
        is obsolete|                            |
  Attachment #39142|0                           |1
        is obsolete|                            |
  Attachment #39177|0                           |1
        is obsolete|                            |
  Attachment #39184|0                           |1
        is obsolete|                            |

--- Comment #11 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 39193
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39193&action=edit
Bug 13437: Preliminary changes for marc21 plugins field 008

Preliminary work on marc21_field_008.pl and 008_authorities.pl.
Moving $dateentered en $defaultval to lower scope level.
date_entered is a new sub (in a module); sub Field008 has been reduced to
one line.
Added a trivial unit test for date_entered.
Note: the format used in date_entered could be added in DateUtils, moving
this logic to a better place.

Test plan:
Use both plugins in the marc21 editor (biblios/authorities).
Run the adjusted unit test.

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


More information about the Koha-bugs mailing list