Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RoomDirectory->MessagePanel: Uncaught TypeError: can't access property Symbol.iterator, e[n].instances is undefined #16789

Closed
jaller94 opened this issue Mar 25, 2021 · 4 comments

Comments

@jaller94
Copy link
Contributor

Peek 2021-03-25 20-47

Description

I have a new localhost Synapse using the Docker image.
Changes I have made to the config:

  • Added my IRC bridge (which wasn't pumbing yet but the appservice bot was already connected)
  • Enabled registration

Steps to reproduce

  • Have an appservice that's not ready yet. (see Synapse's network responses in the mp4 below)
  • Open "Explore rooms"
  • Choose "All rooms"

Describe how what happens differs from what you expected.

The dialog closes with a JavaScript error.

Uncaught TypeError: can't access property Symbol.iterator, e[n].instances is undefined
    Bl MessagePanel.js:836
    render RoomDirectory.js:391
    React 7
    unstable_runWithPriority scheduler.production.min.js:13

Logs being sent: yes

Peek.2021-03-25.20-45.mp4

Version information

  • Platform: web

For the web app:

  • Browser: Firefox Dev 87.0b9
  • OS: Arch Linux btw.
  • URL: 1.7.23 stable from the Github tar.gz on localhost via python -m http.server
@t3chguy
Copy link
Member

t3chguy commented Mar 25, 2021

This is an issue with a spec violation on the server side, instances is a required array field.

https://matrix.org/docs/spec/client_server/r0.6.1#get-matrix-client-r0-thirdparty-protocols

@jaller94
Copy link
Contributor Author

@t3chguy
Copy link
Member

t3chguy commented Mar 25, 2021

I suggest opening a Synapse issue in that case

@t3chguy
Copy link
Member

t3chguy commented Jul 23, 2021

Closing in favour of the synapse spec compliance issue

@t3chguy t3chguy closed this as completed Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants