[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
Fri Mar 27 15:35:22 CET 2015


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #37208|0                           |1
        is obsolete|                            |
  Attachment #37220|0                           |1
        is obsolete|                            |

--- Comment #8 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 37322
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37322&action=edit
[PASSED QA] 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 Veron <veron at veron.ch>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list