[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 11:40:18 CET 2015


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

--- Comment #4 from Marc Véron <veron at veron.ch> ---
Created attachment 37208
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37208&action=edit
[Signed-off] 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.

Works as expected.
Signed-off-by: Marc Véron <veron at veron.ch>

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


More information about the Koha-bugs mailing list