https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21842
Fridolin SOMERS <fridolin.som...@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #82355|0 |1 is obsolete| | --- Comment #7 from Fridolin SOMERS <fridolin.som...@biblibre.com> --- Created attachment 82657 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82657&action=edit Bug 21842: test Koha::ItemType in defined in transfers to receive Like Bug 19194 calls on $itemtype->value must test the object is defined. This patch fixes circ/transferstoreceive.pl Test plan : 1) Define system preference item-level_itypes on "specific item" 2) Define in framework a subfield of items field : mapped on items.itype and not mandatory 3) Create an item without value on this subfield 4) Create a transfers to receive on this item 5) Go to Circulation > Transfers to receive 6) Without patch you get the error : Can't call method "description" on an undefined value 7) With patch you see the itemtype description -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/