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>