[Koha-bugs] [Bug 3873] Gracefully handle errors when item in staff client cart has been deleted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 25 09:43:11 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3873

--- Comment #3 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 37205
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37205&action=edit
Bug 3873: Avoid software error if the cart contains a deleted record

If a record is placed in the basket and deleted, the basket view
exploded with:
Can't use an undefined value as an ARRAY reference at
/home/koha/src/basket/basket.pl line 73.

Test plan:
1/ Add some records to the basket
2/ Delete one of them
3/ Look at your basket
It should not exploded

Note that the number of items in the basket is now wrong.

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


More information about the Koha-bugs mailing list