# Unable to set notification type for group message inbox, again

**URL:** https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144
**Category:** Bug
**Created:** [6월 2, 2016, 4:01오후 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144 "2016-06-02T16:01:27Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [6월 2, 2016, 4:01오후 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/1 "2016-06-02T16:01:27Z")

</div>

This issue is back from the dead:

> [@Unable to set notification type for group message inbox](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox/37298):
>
> Summary: Attempted to set notification type for “moderators” group, and was unable to change it from normal Steps to reproduce: Open messages view Switch to group message page Click notification type switcher, and select any type other than normal Expected Results: Notification type switches Actual Results: Error appears in Chrome dev tools Attachments: Error in Chrome: Uncaught TypeError: Cannot read property 'setNotification' of undefined t.default.r.extend.clicked @ \_applicatio…

Now it’s happening in Discourse 1.6.0.beta7. The reproduction steps are still the same, the error message is still `Uncaught TypeError: Cannot read property 'setNotification' of undefined`.

* * *

Somehow, after reloading the page, I ended up tracking the inbox, and could switch to watching…

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [6월 17, 2016, 4:51오후 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/2 "2016-06-17T16:51:00Z")

</div>

This is still an issue; but this time, I could not get the state to switch to tracking.

Here’s a screenshot of the inspector:

 ![](https://global.discourse-cdn.com/meta/original/3X/d/e/ded5f63676edabd5047b271b2ff77eaaae34baf0.png)

---

<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: [6월 17, 2016, 5:59오후 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/3 "2016-06-17T17:59:42Z")

</div>

Can we repro this @techapj?

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [6월 17, 2016, 7:15오후 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/4 "2016-06-17T19:15:43Z")

</div>

Unable to repro this issue here on meta (for team & moderators group) or on try (admins group).

> [@fefrei](#):
>
> This is still an issue; but this time, I could not get the state to switch to tracking.

Just curious, did reloading the page solved the issue?

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [6월 17, 2016, 7:20오후 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/5 "2016-06-17T19:20:29Z")

</div>

Every time I tried to switch the notification mode, a new copy of the error was thrown on the console. Reloading didn’t fix it on the first try.

After trying a few different notification state and navigating to the archive and back, after reloading, I was tracking the inbox.

It’s interesting that you cannot reproduce it, while I could reproduce it multiple times. The only details that are interesting about my case:

1. `login required`
2. SSO is enabled
3. I was always testing it for a fresh group, after sending it a test email to make the inbox show up.

Is there something I can do to help you debug this?

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [6월 22, 2016, 11:31오전 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/6 "2016-06-22T11:31:41Z")

</div>

> [@techAPJ](#):
>
> Unable to repro this issue here on meta (for team & moderators group) or on try (admins group).

Could you maybe try that again with a _new_ group? I think that’s the most interesting difference between your experiment and my experience…

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [6월 22, 2016, 12:30오후 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/7 "2016-06-22T12:30:04Z")

</div>

> [@fefrei](#):
>
> Could you maybe try that again with a new group?

Just tried locally, still not able to repro this issue 😕

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [6월 22, 2016, 3:23오후 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/8 "2016-06-22T15:23:59Z")

</div>

Strange. I tried to reproduce it again, and failed – so it seems to be sporadic.

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [9월 5, 2016, 3:53오후 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/9 "2016-09-05T15:53:28Z")

</div>

I just set up a fresh Discourse instance, and hit this again. Here’s what I did last:

- create a new group
- set up incoming mail for the group
- send a test mail to the group
- open the notification that there is a message in my inbox
- try to set the notification level from there

 ![](https://global.discourse-cdn.com/meta/original/3X/d/b/db06974b8c4f5c2a9f8dd2c91297ec8c8ba6eb1d.gif)

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [3월 14, 2017, 4:12오후 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/10 "2017-03-14T16:12:45Z")

</div>

I can no longer repro this.

_However_, I can no longer update the tracking state for someone else (by visiting their messages page). The change appears to work, and there are no errors in the console, but the change reverts when the page reloads. Instead, I changed _my own tracking state_ for this group.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [3월 14, 2017, 5:30오후 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/11 "2017-03-14T17:30:45Z")

</div>

> [@fefrei](#):
>
> However, I can no longer update the tracking state for someone else (by visiting their messages page). The change appears to work, and there are no errors in the console, but the change reverts when the page reloads. Instead, I changed my own tracking state for this group.

Can you do a separate topic on this issue?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [3월 14, 2017, 5:30오후 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/12 "2017-03-14T17:30:53Z")

</div>



---

<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: [4월 20, 2017, 7:12오전 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/13 "2017-04-20T07:12:49Z")

</div>



---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [4월 20, 2017, 7:14오전 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/14 "2017-04-20T07:14:04Z")

</div>

I’ve just run into this again:

 ![](https://global.discourse-cdn.com/meta/original/3X/d/3/d3f516de565aeb9f99765538be73129f854b31d3.png)

So it looks like the bug is back, or was never really gone.

An observation I made: This only occurs if the level is still at the default. It never happens once you successfully updated a group’s notification level once.

Is there anything I can do to help you debug this?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [7월 21, 2022, 7:00오전 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/15 "2022-07-21T07:00:02Z")

</div>

지금도 여전히 그런가요? 그렇지 않다고 가정하고 닫겠습니다. 하지만 여전히 발생하면 다시 열 수 있도록 표시해 두겠습니다.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [7월 21, 2022, 7:00오전 UTC](https://meta.discourse.org/t/unable-to-set-notification-type-for-group-message-inbox-again/45144/16 "2022-07-21T07:00:05Z")

</div>


