User profile watch/track/mute options not persisted


(Stephen Chung) #1

I believe it is the latest beta that has this problem.

AFAIK all user profile options can be saved and persisted, EXCEPT for:

  • Watched Categories

  • Tracked Categories

  • Watching First Post Categories

  • Muted Categories

  • Watched Tags

  • Tracked Tags

  • Watching First Post Tags

  • Muted Tags

Muted Users work fine.

Pressing Save Changes will send the correct REST PUT command. Came back with 200 and “Saved!” right next to the button.

Thus, to the web app, the settings have been changed. However, the database has not been changed.

I tried this on Meta and it doesn’t persist to database also.


Changing Username Stops Email Notifications
Changing Username Stops Email Notifications
Email Settings Not Adhered To On User Creation
(James North) #3

This has only happened to me for about a month or so … prior to that it’s worked perfectly and seems to only apply to users created since the problem. Existing users are still working fine.


(Stephen Chung) #4

For me it was working perfectly until recently. Probably a regression.

And it also happens to the admin user of the site, the first user created. So existing users are not fine.


(Régis Hanol) #5

Just pushed a fix. It’s a regression due to our recent rails upgrade

Backported to beta too.


(James North) #6

Hmm my existing ‘watched’ stuff is working fine (I’m the only admin) and it’s working fine for people who have existing watched categories.

But perhaps if existing users watch something new it doesn’t work?


(Stephen Chung) #7

Yup. This one is about you not being able to change your watch/mute categories. Existing categories work fine.

So unfortunately it probably isn’t a solution for your problem (i.e. two users not getting notification emails).


(James North) #8

Thanks @zogstrip! Always on the ball.


(James North) #9

I noticed that this request made it into the latest build so I did the old rebuild … I experience a half fix.

(not sure if I’ve jumped the gun on the patch)

I un-watched the category and re-watched it for one of the users in question.

So the user is now receiving the correct ‘unread posts’ notification (about a brand new post in the category) in the popup area, but no email is being sent according to the admin area of Discourse.

All the email notification boxes are ticked as you’d expect.


(David Taylor) #10

Users will not be emailed if they are currently active on the site - could that be the reason?

If that’s the case, the ‘unsent’ emails will be listed under adminemailsskipped


(James North) #11

Yes nothing in skipped, but it’s also selected for all users on my forum.

(settings in question just to confirm)


(James North) #12

Ahh - STOP PRESS

It works!

I have a feeling it might have something to do with unticking all those email settings, saving them and re-ticking them all though? That’s what I just did after about 5 new post attempts.

I’m going to check this with another account…

EDIT - yes, this is the way to fix users who were created in this purgatory period. Untick all email settings, save, then retick all email settings and it works again.


Email Settings Not Adhered To On User Creation
(Stephen Chung) #13

:rofl::rofl::rofl::rofl::rofl:


(Jeff Atwood) #14

This topic was automatically closed after 3 days. New replies are no longer allowed.