https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15032

--- Comment #20 from Jonathan Druart <[email protected]> 
---
Created attachment 61649
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61649&action=edit
Bug 15032: Try to fix background jobs - batch_record_modification.pl

I do not really understand how behave this patch, sometimes it works,
sometimes not.
It would be good to get other people testing and reading it to try and
understand what's happening. It may be a first step to fix our
background jobs.

The thing is that we cannot close STDOUT, Plack (CGI::Emulate::PSGI) is
expecting it opened (search for 'seek').

If we close STDOUT and keep 'text/html' in the headers, it works almost
correctly: but we got the JSON content + the headers printed by the
child.
With the redirect we a getting the right page when the job is finished.
But sometimes we see the plain text content (with the JSON headers) + a
302

Any thoughts?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/

Reply via email to