[Koha-bugs] [Bug 30889] Background jobs lead to wrong/missing info in logs
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 8 01:45:27 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30889
--- Comment #7 from David Cook <dcook at prosentient.com.au> ---
Comment on attachment 135759
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135759
Bug 30889: Set userenv for background jobs
Review of attachment 135759:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=30889&attachment=135759)
-----------------------------------------------------------------
::: misc/background_jobs_worker.pl
@@ +132,5 @@
> + );
> + $job->process( $args );
> + C4::Context->_unset_userenv(-1);
> + } ese {
> + $job->process( $args );
I don't think that you need to repeat $job->process($args). You can just do the
patron check and userenv around it?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list