Modify ↓
Opened 11 years ago
Closed 11 years ago
#11226 closed defect (fixed)
Replacing a tag removes unrelated tags
Reported by: | Ben Allen | Owned by: | Steffen Hoffmann |
---|---|---|---|
Priority: | high | Component: | TagsPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description
I noticed that while using the tag administration UI to rename a tag, all of the other keywords were being lost from the affected tickets. The keywords in question were unrelated to the tag that was being renamed.
I am running version 0.7dev-r13304 of the TagsPlugin on Trac v1.0 (Python v2.7.3).
To Reproduce
- Create a ticket that has keywords:
apple banana
- In the "Manage Tags" admin panel, select
apple
in the "Current Tag" list and enterApple
in the "New Tag" field. Click the "Change" button. - View the ticket again. It will only have
Apple
listed in its keyword list.
I would expect that apple
would be replaced with Apple
, but all other keywords on the ticket would remain untouched.
It doesn't appear to make a difference whether the tag you are changing is first, last, or in the middle of the keyword list.
Attachments (0)
Note: See
TracTickets for help on using
tickets.
I want to track this down and fix it before the release of
tags-0.7
with the new mass replace feature for tag admins (#9061).