Closed Bug 347991 Opened 18 years ago Closed 16 years ago

Classifications without products don't show up in editproducts.cgi

Categories

(Bugzilla :: Administration, task)

2.22
task
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 3.2

People

(Reporter: bigstijn, Assigned: LpSolit)

References

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: Bugzilla 2.22

New Classifications don't show up in editproducts.cgi .
So, when you try to create a product, you have to choose for "Edit products of" "Unclassified" 

Reproducible: Always

Steps to Reproduce:
1.Make a new classification
2.Add a product ( by clicking Products in the navigation bar, or by clicking add a product in the new classification)


Actual Results:  
3.The new classification doesn't appear in the list

Expected Results:  
The new classification should appear in the list.

Workaround:
4.Click the link "To classification <classification-name>" in the Edit Classification - Edit products.

or

4.Add a product to Classification "Unclassified"
5.Click the "reclassify" for the new classification
6.Reclassify the product.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → 2.22
Easy to fix.
Assignee: administration → LpSolit
Status: NEW → ASSIGNED
Depends on: 271596
Keywords: regression
Attached patch patch, v1Splinter Review
If you don't have editcomponents privs, you cannot create new products, in which case empty classifications should remain hidden as it's currently the case. If you have editcomponents privs, then we should display all classifications, including empty ones, to be able to create a new product in them.
Attachment #344188 - Flags: review?(mkanat)
Attachment #344188 - Flags: review?(mkanat) → review+
Flags: approval3.2+
Flags: approval+
Target Milestone: --- → Bugzilla 3.2
tip:

Checking in editproducts.cgi;
/cvsroot/mozilla/webtools/bugzilla/editproducts.cgi,v  <--  editproducts.cgi
new revision: 1.145; previous revision: 1.144
done

3.2rc1:

Checking in editproducts.cgi;
/cvsroot/mozilla/webtools/bugzilla/editproducts.cgi,v  <--  editproducts.cgi
new revision: 1.142.2.1; previous revision: 1.142
done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: