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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to