https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42394 --- Comment #6 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 197520 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197520&action=edit Bug 42394: Shallow-copy userenv in BackgroundJob->enqueue C4::Context->userenv returns a direct reference to the singleton userenv hash. enqueue() was mutating this reference — deleting session_id and adding an interface key — which corrupted the session state for the remainder of the request. See bug 40943 comment 32 for a detailed explanation of the issue. Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.