ssbc / go-ssb-room

Room server implemented in Go
MIT License
187 stars 36 forks source link

Home screen not working after description change #261

Open niclashoyer opened 3 years ago

niclashoyer commented 3 years ago

I changed the description of the room and suddenly the home screen throws a 500 error and invites no longer work:

failed to find description: pinnedNotice: expected 1 notice but got 0

Bildschirmfoto von 2021-09-23 00-14-48

decentral1se commented 2 years ago

Tried to reproduce this with latest HEAD and was unable to. @niclashoyer could you provide more info on this one? Were you switching languages or did a reload/save fail during edit? I can't seem to trigger any failure but I do see the code is still in place with the same error message handler, so this may still be a bug lurking.

sn0n commented 2 years ago

Same issue after changing privacy policy language from en-gb to en-us duplicating the previous one in an attempt to delete the second one.

jorgesat commented 2 years ago

Same bug here. I changed the language to "es" and the error #500 was only gone after I created a new description page in en-GB.

boreq commented 1 year ago

Same issue after changing privacy policy language from en-gb to en-us duplicating the previous one in an attempt to delete the second one.

For context the error in this scenario is:

Error #500 - Internal Server Error
failed to find description: pinnedNotice: expected 1 notice but got 2