mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 09:43:51 +08:00
2215fa0c8e
This commit fixes a bug in theme settings migrations where values of `objects` typed theme settings aren't passed to migrations even when there are overriding values for those settings. What causes this bug is that, when creating the hash that contains all the overridden settings and will be passed to migrations, the values of `objects` typed settings are incorrectly retrieved from the `value` column (which is always nil for `objects` type) instead of `json_value`. `objects` settings are different from all other types in that they store their values in the `json_value` column and they need to be special-cased when retrieving their values. |
||
---|---|---|
.. | ||
bool.rb | ||
enum.rb | ||
float.rb | ||
integer.rb | ||
list.rb | ||
objects.rb | ||
string.rb | ||
upload.rb |