Incorrect title on group mention desktop notification

AI-generated summary

jomaxro reported a bug where the title of desktop notifications for group mentions is incorrect. The expected result is the topic title where the mention was generated, but instead it shows “[en.notifications.popup.group_mentioned]”. A screenshot of the notification and a link to the post where the group mention was made are provided. The issue is reproducible on Discourse 1.5.0.beta7 with Windows 10 Pro and Chrome Stable 47. The bug has been fixed by techAPJ in a commit.

Summary:

Upon receiving a notification for a group mention, the title of the desktop notification does not work.

Steps to reproduce:

  1. Enable desktop notifications in your browser.
  2. Be part of a group that has group mentions enabled
  3. Have browser and discourse open when group is mentioned

Expected Results:

Topic where mention was generated from appears as the notification title

Actual Results:

Title does not appear, instead the following title is used:

[en.notifications.popup.group_mentioned]

Notes:

The group mentioned in this case is the built in moderators group, no idea if this is relevant. Also, group mention was part of an edit.

Attachments:

Screenshot of notification:

Link to post where group mention was made via an edit:

Link without oneboxing: [A14/A15] The buildings my hearthling will not build Thread - #45 by sdee - Previous Build Reports - Stonehearth Discourse

Versions and Mods:

Discourse 1.5.0.beta7 (discourse.stonehearth.net)

System Information:

Windows 10 Pro, Chrome Stable 47

4 лайка

Fixed :ant:

https://github.com/discourse/discourse/commit/70e095549840b18298b8706c385f227e4ded5202

5 лайков