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.

Comments on Tag duplication in post edit mode

Post

Tag duplication in post edit mode

+1
−0

Tags input box showing "bug" tag twice

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).
History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

Overlapping bug (1 comment)
Overlapping bug
trichoplax‭ wrote over 1 year ago · edited over 1 year ago

Not sure if there's sufficient overlap to call this a duplicate bug, but definitely seemed worth linking to the previous bug Tags shown on a question can differ from tags shown when editing that question