Closed Bug 319480 Opened 20 years ago Closed 20 years ago

deleting a flagtype should ignore inactive flags when confirming

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

2.20
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: altlist, Assigned: LpSolit)

References

Details

(Whiteboard: [blocker will fix])

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 When change a flag from "+" to a blank, the mysql database does not get updated accordingly. However, I do see the Bug Activity page get updated. This is with 2.20+ Reproducible: Always Steps to Reproduce:
Clarification, I see that the "is_active" flag is turned off when you clear a flag. However, how would one normally search for these "inactive" flags? I'm trying to remove old flags but it warns me that it is being used. Looking further, it appears all the used ones were marked "inactive".
A flag is never removed from the DB, and removing a flag from the UI sets the is_active bit to off.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
(In reply to comment #2) > A flag is never removed from the DB, and removing a flag from the UI sets the > is_active bit to off. > LpSolit. I can understand that except for one key issue. If I want to completely remove the flagtype, it complains that I am "using" the flag even though I can see all those bugs have that flag marked as is_active=0. Actually, I don't know of any way to list those inactive flags other than scanning the mysql database. So in my opinion, completely deleting a flagtype should ignore all associated inactive flags, and then delete those inactive flags.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Summary: Changing a flag from "+" to blank does not update the database accordingly → deleting a flagtype should ignore inactive flags when confirming
Depends on: 322285
This will be fixed by bug 322285
Assignee: create-and-change → LpSolit
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [blocker will fix]
Target Milestone: --- → Bugzilla 2.24
Version: unspecified → 2.20
Inactive flags no longer remain in the DB => FIXED!
Status: NEW → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.