Project

General

Profile

Actions

Bug #25908

closed

Unable to create a new setting with the shortcut syntax

Added by Avi Sharvit about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Settings
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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.
Actions #1

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6427 added
Actions #2

Updated by Avi Sharvit about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by Tomer Brisker about 5 years ago

  • Category changed from Rails to Settings
  • Fixed in Releases 1.22.0 added
Actions

Also available in: Atom PDF