[Koha-bugs] [Bug 14651] Koha::Item::effective_itemtype should fallback to biblio-level if no item-level itemtype
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 18 21:41:12 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14651
--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 41635
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41635&action=edit
Bug 14651: (regression test) fallback to bib-level if itype is undef
Koha::Item->effective_itemtype should fallback to biblio-level itemtype
even if item-level item types are set, in the case the item has no itemtype
set (bad migration, bad old code).
To test:
- Run
$ prove t/db_dependent/Items.t
=> FAIL: Koha::Item->effective_itemtype doesn't work properly
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list