discourse/plugins/discourse-post-voting/test/javascripts/acceptance
Natalie Tay 5080cebb0a
FIX: resolve localized tag names via ID when creating or editing topics (#39026)
When content localization is enabled and a user is on a non-default
locale, selecting a tag in the composer or topic editor sends the
localized display name (e.g. "戦略") instead of the original name
("strategy"). The backend can't find a tag with the localized name, so
tags are silently dropped (topci create) OR duplicated as new tags with
the localized name (topic edit).

This affects two flows:
- Topic creation: localized tag name sent as identifier, tag not found
or created as a duplicate
- Topic editing (category + tag change): localized names hit PostRevisor
→ validate_category_tags → `Tag.where(name:)`, validation fails

Related:
- /t/399612
- https://meta.discourse.org/t/using-translated-tags/399591
2026-04-02 13:42:55 +08:00
..
category-edit-test.js
composer-test.js FIX: resolve localized tag names via ID when creating or editing topics (#39026) 2026-04-02 13:42:55 +08:00
notifications-test.js
post-voting-test.js DEV: Purge the widget rendering system (#36109) 2025-11-26 16:10:02 -03:00