https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36542
Arthur Suzuki <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|[email protected] |[email protected] |ity.org | --- Comment #1 from Arthur Suzuki <[email protected]> --- Created attachment 164589 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164589&action=edit Plugin which demonstrate the issue I made a plugin which demonstrate the issue. After installing the plugin in KTD, you'll have to open /var/log/koha/plack-intranet-error.log. Then, if you create a record, you'll see that when the "after_biblio_action" hook is called, the biblio object is available for some Koha::Biblios namespace thanks to some caching mechanism (first warn in the plugin code is not triggered). However, when the hook is called, it is actually not yet saved to DB. This can be verified by doing a call to an API during the call, and see that this api call do not find the record. This test is implemented in the plugin and you will see in the plack-intranet-error.log that the record is not found. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
