Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Post History

60%
+1 −0
Q&A Tag duplication in post edit mode

Accidentally clicking on the blue "bug" tag above the tags box in post edit mode adds the tag "bug" even if it is already present, resulting in it being present twice. Deleting it with the little...

0 answers  ·  posted 2y ago by trichoplax‭  ·  edited 2y ago by trichoplax‭

Question bug tags editing-tags
#3: Post edited by user avatar trichoplax‭ · 2023-01-09T06:35:59Z (almost 2 years ago)
Test adding duplicate tags to see if they still persist to the next editing session
#2: Post edited by user avatar trichoplax‭ · 2022-09-19T16:03:51Z (over 2 years ago)
Add tags
#1: Initial revision by user avatar trichoplax‭ · 2022-09-19T16:03:14Z (over 2 years ago)
Tag duplication in post edit mode
![Tags input box showing "bug" tag twice](https://meta.codidact.com/uploads/KokGjRDPbaqvZwoRxSvnLTcf)

Accidentally clicking on the blue "bug" tag above the tags box in post edit mode adds the tag "bug" even if it is already present, resulting in it being present twice. Deleting it with the little "x" makes it appear to vanish, but it comes back when another tag is added. I haven't tested whether this only affects the "bug" tag.

Not a major problem as the tag does not show a duplicate after the post is submitted. However, it can still be seen twice when editing again in future, which suggests it remains duplicated on the back end. As the duplicated tag is counted twice, this prevents a user from adding more than 4 tags, instead of the usual 5.

If a user accidentally clicks multiple times, they could end up with "bug" showing 5 times, preventing them from adding any more tags. I tested this to confirm. They can still work around this if they know to click on the little "x" and clear space to add more tags.

The duplicated tags can be removed permanently so they no longer show when editing in future - by adding tags to bring the total up to 5. Saving then saves only those 5 with no duplicates, and editing to remove the unwanted ones later leaves no duplicates.

There seems to be some other odd behaviour that I haven't tested further:
- A previously removed tag reappearing in the tag box when editing
- Manually adding a duplicate tag by typing it rather than clicking the blue tag button leading to both the duplicate and the original disappearing (not sure if this was dependent on there already being 2 bug tags).
bug