https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36736 --- Comment #7 from David Cook <dcook@prosentient.com.au> --- (In reply to Nick Clemens (kidclamp) from comment #6)
Adding new objects via the plugin lets plugins use KohaTables and other helper code as well.
I certainly like the sound of that!
Adding objects was featured in the Koha Advent plugin, but it seems the background jobs broke this trick
This patch just ensures the plugins are loaded, and hence all functions and objects available, for our background processes
So I was hoping you'd be able to explain it easier than I'd be able to puzzle it out by trying it myself, but I think it's one of those things where a person just needs to try it out. Trying the test plan, and I see the errors in /var/log/koha/kohadev/worker-output.log I'm a bit confused though... I installed the plugin, restarted everything, and we're using a plugin that isn't used in the MARC import background job. So I feel like we're not really addressing the root problem here. Actually... looking at the log /var/log/koha/kohadev/worker-output.log again I see this: Argument "{VERSION}" isn't numeric in int at /kohadevbox/koha/Koha/Plugins/Base.pm line 339. Argument "{VERSION}" isn't numeric in int at /kohadevbox/koha/Koha/Plugins/Base.pm line 339. I'm going to investigate that a bit further... -- You are receiving this mail because: You are watching all bug changes.