[Koha-bugs] [Bug 29785] Koha::Object->messages must be renamed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 1 15:02:32 CET 2022


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #6 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #5)
> (In reply to Marcel de Rooy from comment #4)
> This looks correct to me, Koha::Result::Boolean is not inheriting from
> Koha::Object.

Okay

> > Kind of strange btw that we add a lot of code there?
> > Koha::Result::Boolean->new(0)->add_message({ message => $error });
> 
> Can you detail what you mean here?

Forget that. Result here confused me a bit. Surely it not a Schema::Result, but
what is a Koha::Result actually?
No answer needed here :)

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


More information about the Koha-bugs mailing list