Actions
Bug #25908
closedUnable to create a new setting with the shortcut syntax
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Settings
Target version:
-
Description
It is impossible to create a new setting by doing `Setting[:foo] = "bar"`.
- If `Setting[:foo]` already exists, it will work well and will update the setting value.
- If `Setting[:foo]` does not exist, it will throw an error saying `description` and `default` are mandatory fields.
Updated by The Foreman Bot almost 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6427 added
Updated by Avi Sharvit almost 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset daf0a39486f53ad64699b0137481b99005ce2728.
Updated by Tomer Brisker over 5 years ago
- Category changed from Rails to Settings
- Fixed in Releases 1.22.0 added
Actions