Setting default_room_version to 12 breaks continuwuity. #1219
Labels
No labels
Blocked
Bug
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
To-Merge
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity#1219
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What the title says, it refuses to start up if set to version 12/fails to start.
Can't reproduce this on main (
6a8b988b36) withdefault_room_version = "12". Which version of continuwuity are you using?Using main as well. Using the Nix module could it be something with that?
I am noting that one post uses quotes around the room version and the other did not (post in main matrix room). Is this the problem? Does nix module quote the version? not quote? require one or the other?
Quotes are required as the room version is not an integer but a string - if a layer is removing the quotes and inadvertently changing the type of the value provided to an integer, then the crash is expected.
I think the docstring for the room version parameter doesn't actually highlight that the quotes are required, which might be an oversight.
I believe the nix module should copy the values verbatim, so quoting the version should also show up as quoted in the TOML.
Fortunately we have a nixos test. I'll try to verify it there :)
Yeah so setting it to
"12"let's the test pass and setting it to12makes it fail. I'll add it in a small PR along with the docsdefault_room_version#1221