[Koha-bugs] [Bug 26165] New: Duplicating large saved report leads to error due to length of URI

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 6 18:01:40 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26165

            Bug ID: 26165
           Summary: Duplicating large saved report leads to error due to
                    length of URI
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5 - low
         Component: Reports
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: bolshawh at parliament.uk
        QA Contact: testopia at bugs.koha-community.org

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."

This seems to be happening after the URL reaches 8226 characters.

I originally encountered this error when duplicating a long SQL report but I
think the easiest way to replicate it is to add a lot of text to the notes
field:

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
(guided_reports.pl?phase=Use%20save)


As a workaround for this bug, users can copy and paste the SQL into a new
report and save it that way or write shorter reports.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list