https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30889
--- Comment #12 from Tomás Cohen Arazi <[email protected]> --- (In reply to Martin Renvoize from comment #11) > The more I contemplate this the more I think we should add a 'context' field > (probably replacing the 'borrowernumber' field) to the background_jobs table > and populate it with a serialised context from the enqueue method and then > use that context to set a context for the job to run in. I support this option. Context needs to be set on enqueing the job. The caller knows the context. The background job class should be able to set userenv correctly when starting the job. -- You are receiving this mail because: 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/
