Bug 22205

Summary: Software Error on basket deletion with bib number in more than one aqorders line
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: 18.05   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2019-01-24 17:21:12 UTC
To test:
- Create a basket
- Add an order to the basket
- Add a second order for the same bib number
- Delete the basket, selecting "Delete Basket, Orders, and Records"
- Receive error "Can't call method "subscriptions" on an undefined value at /usr/share/koha/intranet/cgi-bin/acqui/basket.pl line 137"

Looks like Koha deletes the bib when deleting the first aqorders line and then tried to delete it again when deleting the second aqorders line.