editflagtypes.cgi: Can pick Component without picking Product




15 years ago
6 years ago


(Reporter: mkanat, Unassigned)





15 years ago
When I go to editflagtypes.cgi, and I attmpt to Include a specific Component
with the __Any__ product, I get "A component was selected without a product
being selected." as a ThrowCodeError.

It was my (the user's) fault, so it should be a ThrowUserError, shouldn't it?

No, because Bugzilla shouldn't even let you pick a component if you have the
__Any__ product selected.

Comment 2

15 years ago
Ah, okay then. Then the problem is this:

On today's cvs-tip, I can go to editflagtypes.cgi, and without choosing a
Product at all, I can choose the Components of any Product.

Summary: editflagtypes.cgi: flag_type_component_without_product should be UserError, not CodeError → editflagtypes.cgi: Can pick Component without picking Product
This is probably closely related to bug 233049

Comment 4

14 years ago
The problem still exists in (pre)2.20rc1.
Ever confirmed: true

Comment 5

13 years ago
*** Bug 322921 has been marked as a duplicate of this bug. ***


13 years ago
QA Contact: mattyt-bugzilla → default-qa


12 years ago
Assignee: myk → general

Comment 6

11 years ago
I haven't looked at the code, so I don't know how easy this would be ... but ...

Being able to select _Any_ product and a component to include/exclude would be a great help to our use of Bugzilla.

We have some common component names that are used for particular purposes, and being able to include flags for only that component across all products - or exclude - would be very beneficial.

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