| Summary: | Koha::Uploader does not work under Plack | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
| Component: | Architecture, internals, and plumbing | Assignee: | Bugs List <koha-bugs> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | dcook, jonathan.druart, marjorie.barry-vila |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15218 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22417 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8437 |
||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
|
Description
Fridolin Somers
2019-03-08 09:19:34 UTC
I must say failure is random on file upload. Large files seams to make it worth. 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. Still valid with 19.11 This is linked to #22417, but I don't think it's actually relevant. Is this related to any scripts that are still being proxied to Plack? Maybe "tools/upload-file.pl"? (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). Hmm certainly one that needs to be looked into O_O. Still valid :( Can't say that it's a priority for me as I haven't had any problems but this is unfortunate :( 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... |