Skip to content

Plugin setting typo in "fieldset_default_state" key's "all_expended" value #27

@sanak

Description

@sanak

Problem
This is similar with Redmine core side typo.

Expectation
all_expended should be replaced to all_expanded.

Note
Consider to add migration process in settings and user_preferences tables.
Here is the code snippet of settings table value.

setting = Setting.plugin_redmine_custom_fields_groups
if (
  setting.present? &&
  setting.has_key?('fieldset_default_state') &&
  setting['fieldset_default_state'] == 'all_expended'
)
  setting['fieldset_default_state'] = 'all_expanded'
  Setting.plugin_redmine_custom_fields_groups = setting
end

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions