editflagtypes.cgi: Can pick Component without picking Product

NEW
Unassigned

Status

()

Bugzilla
Bugzilla-General
--
minor
14 years ago
5 years ago

People

(Reporter: Max Kanat-Alexander, Unassigned)

Tracking

Details

(Reporter)

Description

14 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?

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

Comment 2

14 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.

-M
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

13 years ago
The problem still exists in (pre)2.20rc1.
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 5

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

Updated

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

Updated

11 years ago
Assignee: myk → general

Comment 6

10 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.