Closed Bug 300620 Opened 20 years ago Closed 20 years ago

Deletion of a product yields "Insecure dependency in parameter 3" when useclassification is on

Categories

(Bugzilla :: Administration, task)

2.20
task
Not set
major

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: bwern, Assigned: LpSolit)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Deleting a product (without any bugs inside) yields: Insecure dependency in parameter 3 of DBI::db=HASH(0x8000000101327270)->selectrow_array method call while running with -T switch at /opt/apps/nsm/cgi-bin/bugzilla/editproducts.cgi line 172, <DATA> line 225. This installation has classification on. Reproducible: Always Steps to Reproduce: 1. Select Product to delete (with zero bugs contained) 2. 3. Actual Results: Error as above. Expected Results: Removed the product. This form does not have a version selector, but note that this bug report is for 2.20rc1.
Version: unspecified → 2.20
This error message appears only when useclassification is turned on. Else it works as expected.
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking2.20?
Summary: Delete of Product Yields "Insecure dependency in parameter 3" → Deletion of a product yields "Insecure dependency in parameter 3" when useclassification is on
Target Milestone: --- → Bugzilla 2.20
Attached patch patch, v1Splinter Review
Assignee: administration → LpSolit
Status: NEW → ASSIGNED
Attachment #189178 - Flags: review?(wicked)
Comment on attachment 189178 [details] [diff] [review] patch, v1 Looks like this is a regression from bug 289580 and affects both 2.20 branch and tip. This patch seems to fix the problem. I tested this on 2.20 branch and also verified that this can be applied cleanly on tip.
Attachment #189178 - Flags: review?(wicked) → review+
Flags: approval?
Flags: approval2.20?
Flags: blocking2.20?
Flags: approval?
Flags: approval2.20?
Flags: approval2.20+
Flags: approval+
tip: Checking in editproducts.cgi; /cvsroot/mozilla/webtools/bugzilla/editproducts.cgi,v <-- editproducts.cgi new revision: 1.86; previous revision: 1.85 done 2.20rc1: Checking in editproducts.cgi; /cvsroot/mozilla/webtools/bugzilla/editproducts.cgi,v <-- editproducts.cgi new revision: 1.85.2.1; previous revision: 1.85 done
Status: ASSIGNED → RESOLVED
Closed: 20 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: