Unable to set notification type for group message inbox

Summary:

Attempted to set notification type for “moderators” group, and was unable to change it from normal

Steps to reproduce:

  1. Open messages view
  2. Switch to group message page
  3. 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 @ _application-870be5d55ca96513a5c42e2817c3cab9.js:28024
    r @ ember_jquery-c510009d3d7cecdf3f948f54d4922d9a.js:8
    (anonymous function) @ _application-870be5d55ca96513a5c42e2817c3cab9.js:10064
    Z.event.dispatch @ ember_jquery-c510009d3d7cecdf3f948f54d4922d9a.js:2
    v.handle @ ember_jquery-c510009d3d7cecdf3f948f54d4922d9a.js:2

Versions and Mods:

Discourse 1.5.0.beta7 (discourse.stonehearth.net)

System Information:

Windows 10 Pro, Chrome Stable 47

4 Likes

Fixed per:

https://github.com/discourse/discourse/commit/fcf1777ddfc392aadf2276303277e88da32d8a83

5 Likes