Set shared drafts category and shared drafts min trust level both to staff
Set email time window mins to 1 (optional )
Set test user A as Watching First Post for #general category
Create topic as âShared Draftâ, destination category #general
Use another test staff user to make edits
Publish draft
Topic is published to the correct category
Test user A receives notification about new topic
Test user A also receives email about the above notification
It generates notifications, though the emails would be controlled by each userâs Preferences, as well as if theyâve seen the forum within the email time window.
Hello @JammyDodger
Not to âbugâ you but wanted to let you know I have PMed you some screenshots I captured recreating the issue. Please review at your convenience, thank you.
Having a quick look over your PM, it seems like at least one email was sent out as âWatching First Postâ for that shared draft, which suggests that itâs working.
In your notes, you refer to setting that category notification as a default for your users, but are you sure the default has been applied correctly? If you have the data-explorer installed, you could run a query to check your usersâ category notification level for that category to make sure that theyâre set as you expect:
(â4â is the code for âWatching First Postâ, â3â for âWatchingâ)
-- [params]
-- int :category_id
SELECT cu.user_id,
cu.notification_level
FROM category_users cu
WHERE category_id = :category_id
ORDER BY cu.notification_level DESC
Yes, worked only for 1 email of ~8000. Not sure what was special about this id
I donât have data-explorer installed but can try at next build.
Here are additional thoughts on what I think is the issue:
Email sending to all works correctly in the same category for new direct (non shared-draft) topics. I will try to capture screenshots for that as well. So, the watch for all on the category should be good.
I also noted notification emails are sent out to Staff email ids right at the first save. I believe this means the topic is triggering off the notification process right at first save and not after completion of multiple staff edits and actual âpublishâ. At the point of first save, the topic is in staff category and hence only staff members get notified.
If shared drafts category is set to a non-staff category, I suspect this may email out incomplete posts to all watching members of the shared drafts category instead of the destination category.