This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
KeyError in generate_room_entry #9330
Labels
A-Background-Updates
Filling in database columns, making the database eventually up-to-date
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
See https://sentry.matrix.org/sentry/synapse-matrixorg/issues/196208/ for background.
This code is breaking because the current state doesn't include a
m.room.create
event:synapse/synapse/handlers/room_list.py
Lines 303 to 305 in 5a9cdaa
Looking in the database a the room it does include a create event, but only in the
events
table, not thecurrent_state_events
(which is made up purely of membership events). It seems there might be a bug here that server left the room but didn't properly clean-up the current state events.Some conversation around this: https://matrix.to/#/!XaqDhxuTIlvldquJaV:matrix.org/$dLy7NInKFWgQW5zeIfxlEjPHvCGWOuxNV1WhpRy6Epk?via=matrix.org&via=vector.modular.im&via=maunium.net
The text was updated successfully, but these errors were encountered: