Bug 22554

Summary: Koha failed to cancel order for deleted bib
Product: Koha Reporter: Andrew Fuerste-Henry <andrewfh>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: nick
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Andrew Fuerste-Henry 2019-03-20 20:20:31 UTC
When attempting to cancel an order for a bib that has been deleted, DelOrder tries to cancel an order for which biblionumber="". 
However, the database shows NULL for aqorders.biblionumber when a bib has been deleted.
Consequently, the cancellation fails.

Adding to confusion, Koha doesn't give any indication of an error. The system gives a message that the order was cancelled but then, on returning to the basket, the order is still there.
Comment 1 Nick Clemens (kidclamp) 2019-03-21 14:29:37 UTC

*** This bug has been marked as a duplicate of bug 10869 ***