Bugzilla – Attachment 168570 Details for
Bug 23685
Exporting report may consume unlimited memory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23685: Exclude guided_reports.pl from plack
Bug-23685-Exclude-guidedreportspl-from-plack.patch (text/plain), 1.54 KB, created by
Aleisha Amohia
on 2024-07-06 00:44:10 UTC
(
hide
)
Description:
Bug 23685: Exclude guided_reports.pl from plack
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2024-07-06 00:44:10 UTC
Size:
1.54 KB
patch
obsolete
>From 078dc3f32f3544f16add70fe38af80b474cc5bcf Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Sat, 6 Jul 2024 00:38:59 +0000 >Subject: [PATCH] Bug 23685: Exclude guided_reports.pl from plack > >When attempting to export reports in ODS format from Koha, plack can time out > >Excluding the script from plack is a simple fix until we have a more permanent fix for this >issue. > >To test: >1. Create a report which will generate an enormous number of rows, such as SELECT biblio.* FROM biblio CROSS JOIN biblio b; (add a limit of 10000 or something if you like i.e. SELECT biblio.* FROM biblio CROSS JOIN biblio b limit 10000;) >2. Run the report >3. Apply patch, copy changes to /etc/koha/apache-shared-intranet-plack.conf >4. Restart all the things >5. Download the results in ODS format >6. Confirm the export works as expected > >Sponsored-by: Waikato Institute of Technology >--- > debian/templates/apache-shared-intranet-plack.conf | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/debian/templates/apache-shared-intranet-plack.conf b/debian/templates/apache-shared-intranet-plack.conf >index bcee3994439..6fa40149296 100644 >--- a/debian/templates/apache-shared-intranet-plack.conf >+++ b/debian/templates/apache-shared-intranet-plack.conf >@@ -14,6 +14,7 @@ > ProxyPass "/cgi-bin/koha/tools/export.pl" "!" > ProxyPass "/cgi-bin/koha/tools/upload-cover-image.pl" "!" > ProxyPass "/cgi-bin/koha/svc/cataloguing/metasearch" "!" >+ ProxyPass "/cgi-bin/koha/reports/guided_reports.pl" "!" > > ProxyPreserveHost On > >-- >2.39.2
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 23685
:
168116
|
168570
|
168577
|
171136
|
171137
|
171138
|
171139
|
171140
|
171141
|
171142
|
171143
|
171144
|
171145
|
171171
|
171172
|
171173
|
171174
|
171175
|
171571
|
171572
|
171573
|
171574
|
171575