[Koha-bugs] [Bug 28384] Add 'no_items' option to TransformMarcToKoha

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 25 10:47:32 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28384

--- Comment #6 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 122420
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122420&action=edit
Bug 28384: (follow-up) TransformMarcToKohaOneField should allow zeroes

Until now, the test did not pass false values like '0' or ''.
But we should pass '0' and not ''.

Note that the test for control fields is a bit theoretical since
we dont have control fields bound to Koha fields currently.

The adjusted unit test in the former patch should now pass.

Test plan:
Run TransformMarcToKoha.t

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Since this change theoretically has a larger impact, I also
tested the cataloguing editor, item editor. And run quite a
few tests referring to AddBiblio or ModBiblio.

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


More information about the Koha-bugs mailing list