Users reported a bug in Discourse 1.5.0.beta11 where recategorizing a topic without opening the full post editor triggers notifications for all users mentioned in the original post (jomaxro). jeremylan reproduced the issue, noting that both the topic creator and mentioned users receive alerts, and requested clarification on whether only the creator should be notified or neither. codinghorror suggested that using the full editor might be a workaround, though jomaxro argued that non-text changes like category shifts should not trigger mention notifications regardless of the editing method. While jomaxro could not reproduce the bug on their instance, jeremylan confirmed the issue persists in version 1.5.0.beta13b, showing that recategorizing a new topic sends notifications to both the creator and the mentioned user, whereas recategorizing an existing topic does not. jomaxro clarified that their tests involved only category changes without title edits, while jeremylan confirmed their test case also involved only category changes and suggested the current behavior might be intended, leaving the final determination to the development team.
Is the workaround to change the category by opening the full editor? If so, then we should make that explicit here so people have an easy workaround to this edge case.
I do not believe so. The point I was trying to make is that if one is not editing the post’s text, changes to the title should not have anything to do with what’s in the text. I would have to test it, but my guess is the bug would occur identically if one opens the full editor. Be back…
Was it a new topic or did you change category on an existing topic?
I just did a new pull and retried and I got the following (Discourse Version v1.5.0.beta13b +81).
User testuser2 created topic in category BJJ and mentioned user testuser1 in the post
I cannot. @codinghorror or another dev would need to.
Both attempts started with a user making a new topic, and the user mentioned only received 1 (the original) mention notification. It looks like you changed the title as well as the category, is that correct? If so, I did not touch the title, just the category…
No I did not touch the title, I only changed the category. You can see the title is the same in the notification screenshots. Hopefully @codinghorror will check my test case and shed some light
Those two notifications seem correct to me as testuser1 was notified because he was mentioned and testuser2 was notified on category change as the topic creator…