Project

General

Profile

Actions

Bug #25908

closed

Unable to create a new setting with the shortcut syntax

Added by Avi Sharvit almost 6 years ago. Updated over 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

Also available in: Atom PDF