setting too many long cookies for search and grids

RESOLVED FIXED

Status

Testopia
General
--
minor
RESOLVED FIXED
10 years ago
3 years ago

People

(Reporter: Nathan Parrish, Assigned: Greg Hendricks)

Tracking

Details

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.10) Gecko/20071128 Fedora/2.0.0.10-2.fc7 Firefox/2.0.0.10 pango-text
Build Identifier: Testopia 2.1

after doing some searching and perusal of test cases, including removing and resizing some columns, when I tried to load the main bugzilla page I got the following error.

Bad Request

Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.

Cookie: ys-caserun_list_grid=o%3Acolumns%3Da%253Ao%25253Aid%25253Dn%2525253A0%25255Ewidth%25253Dn%2525253A44%255Eo%25253Aid%25253Dn%2525253A1%25255Ewidth%25253Dn%2525253A44%255Eo%25253Aid%25253Ds%2525253Acaserun_list_build_col%25255Ewidth%25253Dn%2525253A44%255Eo%25253Aid%25253Dn%2525253A3%25255Ewidth%25253Dn%2525253A44%255Eo%25253Aid%25253Dn%2525253A4%25255Ewidth%25253Dn%2525253A132%255Eo%25253Aid%25253Dn%2525253A5%25255Ewidth%25253Dn%2525253A132%255Eo%25253Aid%25253Dn%2525253A6%25255Ewidth%25253Dn%2525253A26%255Eo%25253Aid%25253Dn%2525253A7%25255Ewidth%25253Dn%2525253A52%255Eo%25253Aid%25253Dn%2525253A8%25255Ewidth%25253Dn%2525253A52%255Eo%25253Aid%25253Dn%2525253A9%25255Ewidth%25253Dn%2525253A88%255Eo%25253Aid%25253Dn%2525253A10%25255Ewidth%25253Dn%2525253A88%255Eo%25253Aid%25253Dn%2525253A11%25255Ewidth%25253Dn%2525253A88%5Esort%3Do%253Afield%253Ds%25253Arun_id%255Edirection%253Ds%25253ADESC; VERSION-Sprout%20Infra=na; Bugzilla_login=12; TESTOPIA-FILTER-RUN-862=action%3DFilter%26assignee%3D%26assignee_type%3Dsubstring%26case_run_status_id%3D4%26case_summary%3D%26case_summary_type%3Dallwordssubstr%26environment_name%3D%26environment_name_type%3Danyexact%26expand_filter%3D1%26expand_report%3D0%26format%3Dtable%26report%3D1%26report_action%3Ddata%26requirement%3D%26requirement_type%3Dsubstring%26tags%3D%26tags_selected%3D%26tags_type%3Danyexact%26testedby%3D%26testedby_type%3Dsubstring%26x_axis_field%3D%26y_axis_field%3D%26z_axis_field%3D; Bugzilla_logincookie=1yguKxZ7RA; TESTOPIA_PRODUCT_ID=1; ys-products_pane=o%3Acollapsed%3Db%253A1; ys-prod_tag_panel=o%3Awidth%3Dn%253A218; ys-product_active_tab=s%3Acase_search22; COLUMNLIST=bug_severity%20priority%20assigned_to_realname%20resolution%20target_milestone%20qa_contact_realname%20status_whiteboard%20short_desc; DEFAULTFORMAT=advanced; ys-product_run_grid=o%3Acolumns%3Da%253Ao%25253Aid%25253Ds%2525253Arun_id%25255Ewidth%25253Dn%2525253A49%255Eo%25253Aid%25253Dn%2525253A1%25255Ewidth%25253Dn%2525253A25%255Eo%25253Aid%25253Ds%2525253Arun_name%25255Ewidth%25253Dn%2525253A146%255Eo%25253Aid%25253Ds%2525253Amanager_name_col%25255Ewidth%25253Dn%2525253A99%255Eo%25253Aid%25253Dn%2525253A4%25255Ewidth%25253Dn%2525253A72%255Eo%25253Aid%25253Dn%2525253A5%25255Ewidth%25253Dn%2525253A72%255Eo%25253Aid%25253Ds%2525253Abuild_col%25255Ewidth%25253Dn%2525253A25%255Eo%25253Aid%25253Ds%2525253Aenvironment%25255Ewidth%25253Dn%2525253A72%255Eo%25253Aid%25253Ds%2525253Astatus%25255

Apache/2.2.8 (Fedora) Server at stardust.office.sproutsys.com Port 80

after deleting some of these cookies, particularly the ys-*grid* ones, things are happy again.  

attempting to repro, I've discovered that you can fairly quickly generate a number of these oversized cookies by doing a search, and resizing columns in the resultant search window.  close that tab, then do it again.  each time you'll get a cookie ys-case_searchN, for different values of N.




Reproducible: Always
(Assignee)

Comment 1

10 years ago
This is generated by the Extjs code. I am not able to directly modify this behavior in Testopia. The only suggestion I have is to either increase the limit in Apache, or try to reduce the amount of resizing of columns done.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Assignee)

Comment 2

10 years ago
I have made several columns hidden by default to clean up the grids a bit in an attempt to reduce the cookie size.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED

Comment 3

3 years ago
question...how do I fix this, or prevent from happening...I run into this issue at least once a week.
You need to log in before you can comment on or make changes to this bug.