[Koha-bugs] [Bug 18467] Error calling count on undefined bib in basket.pl if order cancelled and record deleted
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Apr 22 15:10:57 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18467
Alex Buckley <alexbuckley at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #62570|0 |1
is obsolete| |
--- Comment #9 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Created attachment 62571
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62571&action=edit
Bug 18467: Handle orders with deleted biblio when viewing a basket
If the bibliographic record of an order has been removed, $order->{bibionumber}
is undefined. We need to handle this specific case correctly.
To test:
1 - Create a basket
2 - Order a bib
3 - Cancel order and delete record
4 - You cannot view basket
5 - Apply patch
6 - View basket
7 - There should not be an error
r calling count on undefined bib in basket.pl if order cancelled and
record deleted
Followed test plan, works as intended
Signed-off-by: Alex Buckley <alexbuckley at catalyst.net.nz>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list