Bug 27987 - Canceling an order / deleting item will result in warning even though there was no problem
Summary: Canceling an order / deleting item will result in warning even though there w...
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: 20.05
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-18 14:45 UTC by Kyle M Hall (khall)
Modified: 2022-06-06 20:25 UTC (History)
0 users

See Also:
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:


Attachments

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