[Koha-bugs] [Bug 16428] The framework is not checked to know if a field is mapped

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 3 12:08:16 CEST 2016


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 51125
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51125&action=edit
Bug 16428: Use the biblio framework to know if a field is mapped

The subroutine _build_default_values_for_mod_marc takes the
frameworkcode in parameter, but ModItemFromMarc did not pass it.
It uses it to know if a field is mapped or not to a Koha field
(C4::Koha::IsKohaFieldLinked).
Consequently the default framework ("") was always used.

This bug has been found working on bug 13074 and has been put on a
separate bug report to ease the backport.

Test plan:
Without this change, the tests added by bug 16428 won't pass

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


More information about the Koha-bugs mailing list