Moving tagged topics does not prompt to add required tag for new category

AI-generated summary

A bug was reported where moving a topic between categories does not prompt users to add a required tag for the new category, even if that tag is mandatory. sterretje detailed the issue using two categories with different required tag groups, noting that after moving a topic, the system fails to enforce the new category’s required tag — leaving it missing. mattdm confirmed seeing the same issue with moderators. sam acknowledged the problem and committed to fixing it within four weeks, tagging it internally for priority. sterretje asked whether this fix would extend to other recently reported tagging bugs — listing four related issues — and clarified they weren’t pushing for priority, just curious. sam responded that they hope to address all of them. Later, saquetim linked a GitHub pull request (#21490) indicating the fix was implemented. sterretje confirmed the issue is now resolved, sharing screenshots showing that after moving a topic, the system now correctly prompts users to select a required tag from the new category’s tag group. They noted moderators will need to be informed of this new step, though they may not be thrilled about the extra work.

Good day

I have a category one and a category two (ok, in real life I have more but I do not think that that makes a difference).

For category one, exactly one tag from taggroup A is required and tags from other taggroups X, Y and Z are optional.

For category two, exactly one tag from taggroup B is required and and tags from taggroups A, X, Y and Z are optional.

I can create a topic in category one with one required and two optional tags as expected. Next I move this topic from category one to category two. Expected behaviour is that it will throw an error if the user does not specify the required tag from taggroup B. It however does not do that and the topic in category two ends up with a missing required tag :frowning:

1 Like

Yeah, I’m seeing this too with moderators moving topics.

We will get this sorted some time in the next 4 weeks. I added an internal tag to prioritize.

1 Like

Thanks @sam

I’m a new user here so please forgive me if I ask impertinent questions. Does this apply to just this bug or to all (or at least most) bugs that have been reported related to tagging? E.g. I’ve reported 4 bugs related to tags in the last 10 days

  1. Limiting tags to categories not working as expected
  2. Editing topics with tag groups from parents allows incorrect tagging
  3. Tags from multiple tag groups required only suggest "select at least one tag"
  4. This topic

Please note that I’m not trying to push issues that I raise to the top; there might be far more important issues that need attention. I’m just curious.if, while the team is at it, they will try to iron out all / most of them?

1 Like

hopefully we can get to all of them, we will let you know.

2 Likes

@sterretje,

This issue and the other ones should be fixed in

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

2 Likes

This issue is solved :+1:

Before move

Move; do not change tags

Clicking the tag dropdown

I’ll just need to inform moderators of the additional step to check the tags; they will not be amused :wink:

4 Likes