Bug 463754 - buglist.cgi is producing error related to cookies and usenames
Summary: buglist.cgi is producing error related to cookies and usenames
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Query/Bug List
Version: 3.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Noura El hawary
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-24 15:03 UTC by Noura El hawary
Modified: 2013-06-24 04:08 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-02 05:33:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Noura El hawary 2008-09-24 15:03:50 UTC
few users have reported errors similar to the following:

I tried a simple search for "f-spot ndesk" and got an internal error
page asking me to send it to this address:

URL: https://bugzilla.redhat.com/buglist.cgi?quicksearch=f-spot+ndesk

error was as the following:

The custom sort order specified in your cookie contains an invalid column name map_assigned_to.realname. The cookie has been cleared.

Comment 1 Noura El hawary 2008-10-02 05:33:56 UTC
hey Dave,

I have tried your suggestion as the following:

Index: buglist.cgi
===================================================================
RCS file: /cvs/qa/rh_bugzilla_3/buglist.cgi,v
retrieving revision 1.23
diff -p -u -r1.23 buglist.cgi
--- buglist.cgi 24 Sep 2008 18:53:38 -0000      1.23
+++ buglist.cgi 2 Oct 2008 05:30:56 -0000
@@ -838,6 +838,9 @@ if ($order) {
             if (!Bugzilla->user->id) {
                 $order =~ s/map_(assigned_to|qa_contact|reporter)\.login_name/map_$1\.realname/;
             }
+            else {
+               $order =~ s/map_(assigned_to|qa_contact|reporter)\.realname/map_$1\.login_name/;
+            }
             # REDHAT EXTENSION END 447765
 
             # A custom list of columns.  Make sure each column is valid.


and it seemed to work fine for me so i committed to cvs the above patch.

Thanks,
Noura


Note You need to log in before you can comment on or make changes to this bug.