Bugzilla – Attachment 136785 Details for
Bug 30889
Background jobs lead to wrong/missing info in logs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30889: Set interface to 'intranet'
Bug-30889-Set-interface-to-intranet.patch (text/plain), 1.03 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-06-30 14:57:00 UTC
(
hide
)
Description:
Bug 30889: Set interface to 'intranet'
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-06-30 14:57:00 UTC
Size:
1.03 KB
patch
obsolete
>From 35d2d73c95843d5cbd9476969beca56c7707c805 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 7 Jun 2022 14:41:14 +0200 >Subject: [PATCH] Bug 30889: Set interface to 'intranet' > >Is that correct? > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > misc/background_jobs_worker.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/misc/background_jobs_worker.pl b/misc/background_jobs_worker.pl >index f10880d6ca..fd164c18e6 100755 >--- a/misc/background_jobs_worker.pl >+++ b/misc/background_jobs_worker.pl >@@ -124,6 +124,7 @@ sub process_job { > my $patron = Koha::Patrons->find($job->borrowernumber); > if ( $patron ) { > C4::Context->_new_userenv(-1); >+ C4::Context->interface('intranet'); > C4::Context->set_userenv( > $patron->borrowernumber, $patron->userid, > $patron->cardnumber, $patron->firstname, >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30889
:
135759
|
135760
|
135932
|
135933
|
135934
|
135935
|
135936
|
136294
|
136295
|
136296
|
136297
|
136298
|
136299
|
136375
|
136376
|
136784
| 136785 |
136786
|
136787
|
136788
|
136789
|
136790
|
136791
|
136792
|
136904
|
136948