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.