Closed Bug 64760 Opened 25 years ago Closed 25 years ago

Keyword removal via editkeywords.cgi isn't complete.

Categories

(Bugzilla :: Bugzilla-General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 69621

People

(Reporter: jacob, Assigned: justdave)

References

()

Details

Problem: If a keyword is removed from a bug by editkeywords.cgi and a non-empowered user attempts is the next person to add a comment to that bug, they will recieve an error about only the owner or an empowered user can change the keyword field. This also causes the keyword change to be recorded under the name of the next person to modify the bug, not the person who deleted the keyword. Suspected problem: I think this is caused by the fact that the deletion routine just plucks the information from the bug and doesn't store anything in the bugs_activty table. Suspected solution: Parse through all bugs with the keyword to be deleted and store this in bugs_activity for this bug. I suspect that doing this without calling processmail will cause this change to be grabbed and e-mailed the next time somebody changes this bug. I noticed this problem while testing Gerv's patch for bug 64328.
I don't know if editkeywords.cgi was used to rename the newly introduced "freeze" keyword to "hang", but it caused some real problems: - (some) keyword-queries didn't work properly anymore (e.g. all-words or none) - to fix this problem, I had to load each bug and hit commit See bug 62893 for details.
Reading through the desciprition in bug 62893, it looks like the problem was cased by this bug. Most likely what was done is the "freeze" keyword was deleted (selecting "Yes" to do it even though there were bugs with the keyword) and then "hang" was created.
Blocks: 69621
Blocks: 69629
No longer blocks: 69629
*** Bug 70823 has been marked as a duplicate of this bug. ***
This is the same thing as bug 69621 and that one has more discusion. *** This bug has been marked as a duplicate of 69621 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
V.
Status: RESOLVED → VERIFIED
moving to Bugzilla product reassign to default owner/qa for INVALID/WONTFIX/WORKSFORME/DUPLICATE
Assignee: tara → justdave
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: other → unspecified
No longer blocks: 69621
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.