]> git.koha-community.org Git - koha.git/commit
Bug 26165: Fix duplication of large saved reports
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 7 Aug 2020 10:44:28 +0000 (12:44 +0200)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Mon, 17 Aug 2020 10:01:00 +0000 (22:01 +1200)
commit9b21b0167008457187bd953ab25c48e4087a9ea6
tree582421bd44c3f41b82afa163036f3c7cd78e20ed
parent7494cea82f8b19028f757aa975e74da66f037a5d
Bug 26165: Fix duplication of large saved reports

If the combined character length of a saved report's
title, notes and SQL is too long then pressing the
'duplicate' button will lead to an error:

"Request-URI Too Long
The requested URL's length exceeds the capacity limit
for this server."

Test plan:
1. Create a simple SQL report and add a lot of text
   into the notes field (the combined URL lenth must be
   >8225 characters)
2. Save the report
3. Press the duplicate the report from the saved reports page

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 81f06881a45d7647481aa8a21354a772f3daff88)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 50cbaa3262b11f9b4541464371477200ed84ca8a)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
reports/guided_reports.pl