Closed Bug 81195 Opened 23 years ago Closed 23 years ago

Query: when selecting Products, Components don't update automatically

Categories

(Bugzilla :: Bugzilla-General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 30689

People

(Reporter: gillesd, Assigned: justdave)

Details

Attachments

(1 file)

OEone has recently updated to Bugzilla 2.12 and we're having a problem with it.

I've noticed that when we do a bug query, the components are not dynamically
linked to their products.

For example, if we have 4 products and 26 components, only a few components are
normally related to each product.

However, currently, all 26 components are available to all 4 products, which
isn't right.

How do we "link" the components to the product for the query page?
In Mozilla's Bugzilla, whenever you select a product, the component list updates
to reflect ONLY the components available to that specific product, but this
doesn't work in our version of Bugzilla.

PS: Matthew P. Barnson already told me to verify if Javascript was enabled (and
it is).
I've also been told that there's a bug logged about this in Bugzilla, but I
couldn't find it, so forgive me if this is a duplicate!
Reassigning to Webtools:Bugzilla
Assignee: cls → tara
Component: Build → Bugzilla
The prior bugs in this in Bugzilla were fixed before the 2.12 release.  What 
browser are you using?  This works okay for you on bugzilla.mozilla.org with the 
same browser, but doesn't work with your local installation?  Have you made any 
modifications to the code, or is it straight out of the 2.12 tarball (or cvs)?
We're using the tarball release of 2.12 and we're also using it internally On
our own server). Yes, you are right, Mozilla's bugzilla works fine, but not our
own version. Is there a specific setting somewhere that we need to activate on
the server? If so, what? All of our browsers are using javascript, so we should
be able to pick it up, but we can't.

Using Netscape, here's the error warning I got:
JavaScript Error: http://bugzilla.oeone.com/query.cgi, line 479:
selectProduct is not defined.
(Mozilla doesn't give us such a warning)
Maybe it's unrelated, maybe it is. Thought it might help though.
Are there any non-alphanumeric characters other than space in any products or
components?  If so could you let us know what they are and where they are
please.
There are periods, colons, and dashes .:-

I am attaching the page generated by query.cgi.
I get the following error when I load the attachment:

-----
Error: missing ] in index expression
Source File: http://bugzilla.mozilla.org/showattachment.cgi?attach_id=34753
Line: 35, Column: 23
Source Code:
cpts['Web Tools - What's Related'] = new Array();
-----

So the problem here is that Bugzilla doesn't escape the apostrophe in the
component name.  The temporary workaround is to remove the apostrophe.



*** This bug has been marked as a duplicate of 30689 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
moving to Bugzilla product
reassign to default owner/qa for INVALID/WONTFIX/WORKSFORME/DUPLICATE
Assignee: tara → justdave
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: Bugzilla 2.12 → unspecified
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: