Hi, we recently upgraded two instances to 3.1.0.beta5 (286dfcacb4
) and noticed the following issue regarding inboxes for group messages since then:
Go to your “personal messages”, e.g. https://discourse.example.com/u/gregory/messages
Use the category selector on the top-left to select the inbox of some (arbitrary) group.
Now we immediately get this:
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.
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
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
tgxworld
(Alan Tan)
June 19, 2023, 6:23am
7
This has been fixed in
discourse:main
← tgxworld:fix_error_when_viewing_group_inbox
opened 06:21AM - 19 Jun 23 UTC
This is a follow up to 1cbc65ba7949b0763c13347339b3064826023c07 where
visiting a… group with a mixed case name would result in an error.
Thank you for the report @GregoryS
5 Likes
tgxworld
(Alan Tan)
Closed
July 3, 2023, 12:00am
8
This topic was automatically closed after 13 days. New replies are no longer allowed.