https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21842
Fridolin SOMERS <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #82356|0 |1 is obsolete| | --- Comment #8 from Fridolin SOMERS <[email protected]> --- Created attachment 82658 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82658&action=edit Bug 21842: test Koha::ItemType in defined in order recieve items table Like Bug 19194 calls on $itemtype->value must test the object is defined. This patch catalogue/getitem-ajax.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) Go to Acquisitions -> Find a vendor or make a new one -> create a new basket 5) Add the record from Step 1 to your basket 6) Close the basket 7) Go back to the vendor and click "Receive shipments" 8) Put in an invoice number, click Next 9) Click the "Receive" link for your item 10) Click on "Edit" in items table 11) You see item editor in a new tab 12) Change something and save 13) Without patch your change is not update The ajax call is with HTTP 500 error containing : Can't call method "description" on an undefined value 14) With patch items table is updated -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] 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/
