Message category selector for group messages leads to "Error Something went wrong."

Hi, we recently upgraded two instances to 3.1.0.beta5 (286dfcacb4) and noticed the following issue regarding inboxes for group messages since then:

  1. Go to your “personal messages”, e.g. https://discourse.example.com/u/gregory/messages
  2. Use the category selector on the top-left to select the inbox of some (arbitrary) group.
  3. Now we immediately get this:
    image

Nothing is actually logged to https://discourse.example.com/logs/.

The browser console shows:

  • TypeError: Cannot read properties of undefined (reading 'name') @ application.js:79
  • Error while processing route: userPrivateMessages.group.index Cannot read properties of undefined (reading 'name') TypeError: Cannot read properties of undefined (reading 'name') @ router.js:1064
  • Uncaught TypeError: Cannot read properties of undefined (reading 'name') @ rsvp.js:23

The developer tools show a POST request to https://discourse.example.com/message-bus/35da09199d4b4a659887ec491695e8d5/poll that does not receive any response from the server and after 25 seconds times out with response []. This then triggers another such POST request etc…

1 Like

I think there’s been another report of this too - Cannot open the moderation inbox

Let me see if I can get someone to take a closer look. :eyes: :+1:

5 Likes

Oh, I didn’t see the other post. Thanks a lot!

Interestingly, the “moderators” inbox is the only one that does still work in our case :sweat_smile:

The moderation mailbox can be opened via the link example.com/g/moderators/messages/inbox. However, if you click on the link in the sidebar or on a notification, the aforementioned error appears. The link in the sidebar or in the notification is also structured slightly differently: example.com/u/username/messages/group/Moderators

1 Like

I have observed further:

  • If a moderator responds to a reply in the moderation inbox, the corresponding topic opens without any problems. No error message appears. The link looks different here too: example.com/t/title-of-the-topic/1234/4
  • If a user reports a post and writes a message at the message because he selected Other, I can open the message in the mailbox as well. Again, the link looks like above: example.com/t/title-of-the-topic/1234/4

So one can state: If a link is made directly to a topic in the moderation inbox, no error appears either.

1 Like

This has been fixed in

Thank you for the report @GregoryS

5 Likes

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