Bug 27987

Summary: Canceling an order / deleting item will result in warning even though there was no problem
Product: Koha Reporter: Kyle M Hall (khall) <kyle>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
Version: 20.05   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Kyle M Hall (khall) 2021-03-18 14:45:58 UTC
This is due to the return result from Koha::Item::safe_delete being different than what DelOrder expects. We should be checking for the correct return value in DelOrder.
Comment 1 Kyle M Hall (khall) 2021-08-03 11:12:18 UTC
Bug was resolved when DelOrder was replaced with Koha::Acquisition::Order::cancel