Bugzilla – Attachment 58461 Details for
Bug 17240
Allow processes that rely on background jobs run in Plack mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17240 - Allow processes that rely on background jobs run in Plack mode - followup 2
Bug-17240---Allow-processes-that-rely-on-backgroun.patch (text/plain), 1.22 KB, created by
Fridolin Somers
on 2016-12-28 08:55:57 UTC
(
hide
)
Description:
Bug 17240 - Allow processes that rely on background jobs run in Plack mode - followup 2
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2016-12-28 08:55:57 UTC
Size:
1.22 KB
patch
obsolete
>From 8cc678d68a20eb67529e6fcd8c3848a3076af6c7 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 28 Dec 2016 09:38:09 +0100 >Subject: [PATCH] Bug 17240 - Allow processes that rely on background jobs run > in Plack mode - followup 2 > >Followup 2 >If not running in background mode, some calls are made on $job var in tools/batch_record_modification.pl. >--- > tools/batch_record_modification.pl | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) > >diff --git a/tools/batch_record_modification.pl b/tools/batch_record_modification.pl >index 6ea0317..07e5e57 100755 >--- a/tools/batch_record_modification.pl >+++ b/tools/batch_record_modification.pl >@@ -235,12 +235,14 @@ if ( $op eq 'form' ) { > } > } > >- $job->set({ >- view => 'report', >- report => $report, >- messages => \@messages, >- }); >- $job->progress( ++$progress ) if $runinbackground; >+ if ($runinbackground) { >+ $job->set({ >+ view => 'report', >+ report => $report, >+ messages => \@messages, >+ }); >+ $job->progress( ++$progress ); >+ } > } > > if ($runinbackground) { >-- >2.7.4
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 17240
:
55110
|
55111
|
55129
|
55130
|
55137
|
55138
|
55257
|
58461
|
63291
|
63459
|
63862
|
76477
|
76478
|
76479
|
76480
|
76481
|
76482