[Koha-bugs] [Bug 32528] Koha::Item->safe_to_delete should short-circuit earlier

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 30 12:43:46 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32528

--- Comment #5 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Martin Renvoize from comment #4)
> Do we care about the order in which these failure messages are returned here?
> 
> We effectively reverse their priority here by returning early.  If that
> matters we could re-arrange the code blocks and stick achieve the early
> returns.

All of them are blocking the action, so it feels correct.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list