Re: [Koha-devel] Plugin hooks on datas and store()

2021-03-10 Thread Renvoize, Martin
I've read the code a bit more now... You could probably use ->_result to reach inside the object and call a store without triggering the Koha::Objects store to circumnavigate the issues here... but.. should you.. I've commented on the bug. On Wed, 10 Mar 2021 at 06:54, Renvoize, Martin < martin.r

Re: [Koha-devel] Plugin hooks on datas and store()

2021-03-10 Thread Jonathan Druart
>From perlobj pod: "The SUPER pseudo-class is resolved from the package where the call is made. It is *not* resolved based on the object's class." You can still call $item->_result->update. I suggest you open a bug report to add a no_trigger flag to Koha::Object->store (like we did in Koha::Objec

Re: [Koha-devel] Plugin hooks on datas and store()

2021-03-10 Thread Jonathan Druart
> I suggest you open a bug report to add a no_trigger flag to Koha::Object->store (like we did in Koha::Objects). And just realized it's what Martin suggested but wouldn't work. Le mer. 10 mars 2021 à 09:22, Jonathan Druart < jonathan.dru...@bugs.koha-community.org> a écrit : > From perlobj pod: