[Bug 22481] New: Koha::Uploader does not work under Plack
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 Bug ID: 22481 Summary: Koha::Uploader does not work under Plack Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: fridolin.somers@biblibre.com QA Contact: testopia@bugs.koha-community.org Target Milestone: --- The use of Plack reveled that the use of CGI hook is not allowed, see Bug 15218. Looks like this is used by Koha::Uploader::cgi() : my $query = CGI::->new( sub { $self->_hook(@_); }, {}, 0 ); -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=15218 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=22417 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 --- Comment #1 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- I must say failure is random on file upload. Large files seams to make it worth. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 --- Comment #2 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- A quick dirty fix is in Koha/Uploader.pm use constant BYTES_DIGEST => 2048; Change 2048 with a huge number, upload will not need hook. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=8437 CC| |jonathan.druart@bugs.koha-c | |ommunity.org -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 --- Comment #3 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- Still valid with 19.11 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 --- Comment #4 from David Cook <dcook@prosentient.com.au> --- This is linked to #22417, but I don't think it's actually relevant. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 --- Comment #5 from David Cook <dcook@prosentient.com.au> --- Is this related to any scripts that are still being proxied to Plack? Maybe "tools/upload-file.pl"? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 --- Comment #6 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- (In reply to David Cook from comment #5)
Is this related to any scripts that are still being proxied to Plack?
Maybe "tools/upload-file.pl"?
Indeed, I mean it appears when all perl is through plack (we use nginx instead of apache). -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 --- Comment #7 from David Cook <dcook@prosentient.com.au> --- Hmm certainly one that needs to be looked into O_O. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 Marjorie Barry-Vila <marjorie.barry-vila@collecto.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marjorie.barry-vila@collect | |o.ca -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 --- Comment #8 from Fridolin Somers <fridolin.somers@biblibre.com> --- Still valid :( -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 --- Comment #9 from David Cook <dcook@prosentient.com.au> --- Can't say that it's a priority for me as I haven't had any problems but this is unfortunate :( -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22481 --- Comment #10 from David Cook <dcook@prosentient.com.au> --- One day I want to finish Bug 26791 which will provide a template for rewriting problematic Koha code to be PSGI compliant but until then... -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org