Closed Bug 285499 Opened 20 years ago Closed 20 years ago

Restrict component based on product for editflagtypes.cgi, as is done in query.cgi

Categories

(Bugzilla :: Administration, task)

2.18
task
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 289889

People

(Reporter: shane.h.w.travis, Unassigned)

Details

There's some really slick java-based code in query.cgi that whittles down your 
component list based on selected products. Transporting this code to 
editflagtypes.cgi would be VERY welcome; locally, we have over 350 components 
for >35 products, and it's a real pain if you only want a flag to apply to only 
one product/component pair.

If that means that the component box goes to a multi-select, and that it's 
possible to pick a list of components and have editflagtypes.cgi iteratively 
add each product/component pair to the inclusion/exclusion box, so much the 
better... but if that's a completely different bug then that's fine too.
Editflagtypes.cgi already does trim the component list depending on the product
you have selected. The functionality was broken before but that was already
fixed in bug 241814. Also, bug 258647 is about integrating the different
JavaScript codes used to do the selection.

*** This bug has been marked as a duplicate of 241814 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
I'm still having trouble with this. This bug is marked as duplicate of bug
241814 and 241814 says it was fixed in 2.18. I am running 2.18.

Steps to reproduce:
1. Go to 'Create Flag Type for Log Item' page from Flags link.
2. Select a Product

Result: Component field still has pick list of all components in the DB.
Expected Result: Component field to have only those components that apply to the
selected product.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Still couldn't reproduce this on v2.18 branch tip. Actually bug 241814 didn't
quite fix the problem for v2.18 branch. This was later fixed in bug 289889 that
is included in v2.18.1. Moving duplicated bug number. Please, feel free to
reopen if this is still a problem after updating.

*** This bug has been marked as a duplicate of 289889 ***
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → DUPLICATE
Version: 2.19.2 → 2.18
Thanks for info. I can't test this using landfill installations, since plebs
like me can't edit flags. But I'm not going to worry about it. I'll probably be
ok on my next update.
You need to log in before you can comment on or make changes to this bug.