Red Hat Bugzilla – Bug 16638
Script errors when using the query interface
Last modified: 2007-04-18 12:28:20 EDT
When I change the product I have selected in the query interface, I get a
script error. I am using IE5.
Same for IE4
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:
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:
and causes IE5.5 to display the error messages:
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).
Fixed now, wasnt escaping the ' character properly. Thanks