[Koha-bugs] [Bug 29741] Add Koha::Patron->safe_to_delete

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 20 23:00:04 CET 2021


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

--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Tomás Cohen Arazi from comment #5)
> (In reply to Martin Renvoize from comment #4)
> > Sorry dude, not 100% sure of the construct here... I feel like
> > 'safe_to_delete' should return a Boolean given it's method name?
> > 
> > Perhaps a boolean in scalar context and a Boolean + hash or array of errors
> > as the second slot of an array in list context?
> 
> Maybe a Koha::Validation object that validates to a bool, and carries
> messages in it?

I replicated Koha::Item's to limit the conflict surface, but...hey... Hehe

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


More information about the Koha-bugs mailing list