일괄 태그 생성 시 대문자 태그가 거부됩니다

When creating tags via bulk tag creation, tags that contain uppercase letters (for example “UppercaseTag”) are rejected with an “Invalid tag name” error.
Screenshot_20260118_123133_Firefox

This is surprising from a user perspective, because the same tag names work when entered for example through the regular topic UI

Depending on the force_lowercase_tags setting:

Bulk tag creation behaves differently:

  • it rejects tags containing uppercase characters even when they are allowed by the force_lowercase_tags setting
  • instead of accepting the input and applying the usual normalization, it fails validation outright.

As a result, users have to manually adjust their input (for example by converting everything to lowercase), even though this is not required anywhere else. Since the same input works in other parts of the UI, it is difficult to understand why tag creation fails specifically in the bulk workflow.

Would it be possible for bulk tag creation to use the same validation and normalization behavior as the other tag input paths, so users don’t have to learn a separate set of rules for bulk operations and to ensure that creating tags with uppercase letters is possible in bulk?


  1. in this case the word ‘create’ isn’t shown ↩︎

6개의 좋아요

Thanks for the report.

We’re currently making some sizeable changes to tags, so we’ll have a look at this after.

5개의 좋아요

Thanks for the report, this is now fixed here:

https://github.com/discourse/discourse/pull/37593

4개의 좋아요

Thank you!

This seems to work now. I was able to create UppercaseTag when Force lowercase tags was disabled.
image
And when I disabled the setting, I was still able to create UppercaseTag, and it was converted to lowercase
image

Is there a reason why the other magic fixes that happen when I create a tag in the composer are not applied when I use bulk create?
For example, I cannot create a tag with 2 dashes in bulk create
image

But it works in the composer

1개의 좋아요

이 일관성 문제는 여기서 수정되어야 합니다:

리포트 감사합니다!

2개의 좋아요

이 주제는 11일 후 자동으로 닫혔습니다. 더 이상 새로운 답글을 작성할 수 없습니다.