[Koha-bugs] [Bug 19049] Fix regression on stage-marc-import with to_marc plugin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 11 08:42:45 CEST 2017


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

--- Comment #22 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 65876
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65876&action=edit
Bug 19049: [QA Follow-up] Mock config, default format

As requested by QA:
[1] Mock_config enable_plugins in the test.
[2] Fallback to MARC when format is empty. Remove die statement.
Added:
[3] Remove $marc. This variable got obsolete during development.
[4] Add if to the Handler call and add if around processing $text. No need
    to split undef if somehow plugin was not found, etc. If the routine
    returns an empty arrayref, stage-marc-import will do fine.

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