mirror of
https://github.com/discourse/discourse.git
synced 2024-11-21 16:38:15 -06:00
e8deed874b
This fixes an issue where any string for an enum site setting (such as TrustLevelSetting) would be converted to an integer if the default value for the enum was an integer. This is an issue because things like "admin" and "staff" would get silently converted to 0 which is "valid" because it's TrustLevel[0], but it's unexpected behaviour. It's best to just let the site setting validator catch this broken value. |
||
---|---|---|
.. | ||
db_provider.rb | ||
defaults_provider.rb | ||
deprecated_settings.rb | ||
hidden_provider.rb | ||
local_process_provider.rb | ||
type_supervisor.rb | ||
validations.rb | ||
yaml_loader.rb |