# User profile watch/track/mute options not persisted

**URL:** https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006
**Category:** Bug
**Created:** [2017年九月29日 08:21 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006 "2017-09-29T08:21:07Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [2017年九月29日 08:21 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006/1 "2017-09-29T08:21:07Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![JamesNorth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesnorth/32/283740_2.png) [@JamesNorth](https://meta.discourse.org/u/JamesNorth)
#### Post date: [2017年九月29日 10:04 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006/3 "2017-09-29T10:04:36Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [2017年九月29日 11:03 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006/4 "2017-09-29T11:03:49Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2017年九月29日 11:12 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006/5 "2017-09-29T11:12:29Z")

</div>

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

[https://github.com/discourse/discourse/commit/f6c484881b01515200539b722646215c42848144](https://github.com/discourse/discourse/commit/f6c484881b01515200539b722646215c42848144)

_Backported to beta too._

---

<div class="post-metadata">

### Author: ![JamesNorth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesnorth/32/283740_2.png) [@JamesNorth](https://meta.discourse.org/u/JamesNorth)
#### Post date: [2017年九月29日 11:12 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006/6 "2017-09-29T11:12:52Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [2017年九月29日 11:19 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006/7 "2017-09-29T11:19:10Z")

</div>

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).

---

<div class="post-metadata">

### Author: ![JamesNorth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesnorth/32/283740_2.png) [@JamesNorth](https://meta.discourse.org/u/JamesNorth)
#### Post date: [2017年九月29日 11:20 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006/8 "2017-09-29T11:20:35Z")

</div>

Thanks @zogstrip! Always on the ball.

---

<div class="post-metadata">

### Author: ![JamesNorth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesnorth/32/283740_2.png) [@JamesNorth](https://meta.discourse.org/u/JamesNorth)
#### Post date: [2017年九月29日 13:32 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006/9 "2017-09-29T13:32:03Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2017年九月29日 13:34 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006/10 "2017-09-29T13:34:45Z")

</div>

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

---

<div class="post-metadata">

### Author: ![JamesNorth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesnorth/32/283740_2.png) [@JamesNorth](https://meta.discourse.org/u/JamesNorth)
#### Post date: [2017年九月29日 13:35 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006/11 "2017-09-29T13:35:04Z")

</div>

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

(settings in question just to confirm)

 ![25 pm](https://global.discourse-cdn.com/meta/original/3X/4/a/4aec201c3508bf69948b70a67f85cd526a69fdb7.png)

---

<div class="post-metadata">

### Author: ![JamesNorth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesnorth/32/283740_2.png) [@JamesNorth](https://meta.discourse.org/u/JamesNorth)
#### Post date: [2017年九月29日 13:38 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006/12 "2017-09-29T13:38:23Z")

</div>

### 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.

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [2017年九月29日 14:02 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006/13 "2017-09-29T14:02:49Z")

</div>

> [@JamesNorth](#):
>
> purgatory

🤣🤣🤣🤣🤣

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017年十月3日 01:00 UTC](https://meta.discourse.org/t/user-profile-watch-track-mute-options-not-persisted/71006/14 "2017-10-03T01:00:12Z")

</div>

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