Attempting to merge two tags and remove the incorrect one, I created, then deleted a synonym which resulted in both tags being deleted.
Discourse version: 2026.2.0-latest (7e603d4374)
Steps to reproduce:
- Create a new topic
- Give it two tags,
tag1andtag2, and submit it - Click
tag1to navigate to tag filter page - Click the wrench to open tag settings
- Click Edit Synonyms
- Add
tag2 - >> At this point
tag2is removed from the created topic - In the list of synonyms, click the small trashcan icon beside
tag2 - Choose yes when prompted to remove the synonym
- >>
tag1is deleted along with the synonym
I use two tags applied to a single topic in the steps for simplicity, this also occurs when the two tags are applied to two separate topics.
Additional notes:
The log entry for the deleted tag has no details, it could be useful for this to contain the topic IDs the tag was removed from as part of deleting it.
As far as I could tell, deleting a tag also creates no record of topic edits so I couldn’t use Data Explorer to find topics with updated_at > 'some time' or list revisions created after ‘some time’.