Once I open the topic, it says that it is set to Watching, despite my not receiving a notification for it.
Does reassigning a category send a new email out to the group watching the new category?
I would guess that the post is being drafted either as a PM or a ‘shared draft’, and therefore notifications are not being sent. See here:
and more recently here:
It looks like @tgxworld applied a related fix here
I just tried a few things locally:
- Watching #announcements
- “Make PM Public”, then recategorise to #announcements
- No notification received
- Watching #annoucements
- “Publish shared draft”
- Notification received
- Watching first post #announcements
- “Publish shared draft”
- Notification not received
@david very likely has the right idea. The last 3 or so release notes were created using the shared drafts feature. Previous notes were drafted elsewhere and posted “normally”. It looks like @tgxworld’s recent change likely fixed watching #feature:announcements, but we should probably fix the other 2 issues.
@tgxworld I would like you to fix this, this week if you have some time
A minimal fix here is that if a topic with 1 post is recategorized to a “watching” category notifications should go out.
It is a bit tricky here cause, what happens when you move something to #feature:announcements and then move it out of #feature:announcements ? We need to remove the watching status from all the people to be “correct”
There is also the two full seconds of 307 SQL commands that somehow issue when you rename and recategorize a topic.
@david Was this not working for you even with FIX: Retrigger notification when a topic is recategorized. · discourse/discourse@ee1eb1a · GitHub applied?
This case is fixed in
I tested this locally and it looks we we already do this.
I just tried again and this works fine, so I must have messed something up when testing. Sorry for the confusion!
No worries! Thank you for working out the 3 scenarios!
Unfortunately it doesn’t look like this is completely fixed, as it happened again for me with: Discourse 2.1.0 beta 2 Release Notes (I got no notification, only appeared in New, appeared as Watching once I opened it)
I’m 80% sure this has to do with posting as a ‘shared draft’, perhaps?
It looks like most of the cases described above regressed 2 months ago, but this wasn’t picked up in the tests (because Sidekiq jobs don’t run normally in a test environment). Here’s a PR to fix:
This is now merged, so future #feature:announcements should trigger notifications correctly
This topic was automatically closed after 14 days. New replies are no longer allowed.