bug: deprecated config parameters are immediately re-warned as unknown #2368
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Compliance
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/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
bob the builder
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
continuwuation/continuwuity#2368
Loading…
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 is the bug?
If a deprecated config parameter is included in the config, continuwuity will first (correctly) report it as deprecated, but then issue a warning for the same parameter being "unknown to conduwuit" immediately after.
Steps to reproduce
Server name and version
julian45.net 26.9.1 (
090203c)Additional context
Jade indicated in person that this might be a good first issue to tackle for new contributors.
I think this is technically correct & desired behaviour. Deprecated & removed aren't mutually exclusive - being removed doesn't un-deprecate the field. The deprecation signals to the user that the field is old, and the removal explains that it won't have any effect.
It's a bit clunky but I don't think this is necessarily a bug