[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
Fri Apr 21 18:10:34 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18467

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #62514|0                           |1
        is obsolete|                            |

--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 62537
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62537&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

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


More information about the Koha-bugs mailing list