Bug 22205 - Software Error on basket deletion with bib number in more than one aqorders line
Summary: Software Error on basket deletion with bib number in more than one aqorders line
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: 18.05
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-24 17:21 UTC by Andrew Fuerste-Henry
Modified: 2019-01-24 17:21 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.