Bug 16638 - Script errors when using the query interface
Script errors when using the query interface
Status: CLOSED CURRENTRELEASE
Product: Bugzilla
Classification: Community
Component: Bugzilla General (Show other bugs)
2.8
i386 Linux
medium Severity medium (vote)
: ---
: ---
Assigned To: David Lawrence
David Lawrence
http://www.redhat.com/bugzilla/
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-20 05:18 EDT by mikal@stillhq.com
Modified: 2007-04-18 12:28 EDT (History)
2 users (show)

See Also:
Fixed In Version: 2.17.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-04-17 17:48:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description mikal@stillhq.com 2000-08-20 05:18:28 EDT
When I change the product I have selected in the query interface, I get a 
script error. I am using IE5.
Comment 1 Daniel Roesen 2000-09-26 13:22:27 EDT
Same for IE4
Comment 2 Mark Harig 2003-04-17 17:38:38 EDT
I am NOT seeing a problem with the query.cgi when using Microsoft's Internet
Explorer 5.5.  However, I am seeing a script error when running the
'easy_enter_bug.cgi' script with IE5.5.

Details about how to reproduce this:

1. Logon to your bugzilla account.

2. Click on the 'New' action button.  This loads the CGI script:

   https://bugzilla.redhat.com/bugzilla/easy_enter_bug.cgi

3. Scroll to the bottom of the displayed page, and click on the button labelled
'Step 3. Choosing Your Product'

This loads the CGI script:

  https://bugzilla.redhat.com/bugzilla/easy_enter_bug.cgi?action=second

and causes IE5.5 to display the error messages:

   Line: 127
   Error: Expected ']'

This corresponds to the line with the following text:

   products['Dave's Action Items'] = "List of things Dave needs to get done";

My guess is that the apostrophe after "Dave" is terminating the string
prematurely.  Possibly, the problem could be fixed by using a backquote
character, or by relabelling the product, say, 'Action Items of Dave'.

FYI, this problem does not occur in Mozilla (RH 7.1 or 8).

Comment 3 David Lawrence 2003-04-17 17:48:32 EDT
Fixed now, wasnt escaping the ' character properly. Thanks

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