Vote #79252
未完了Plugin settings trouble
ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Plugin API_20
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:
0%
予定工数:
Redmineorg_URL:
category_id:
20
version_id:
0
issue_org_id:
28529
author_id:
318988
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
1
plus1:
1
affected_version:
closed_on:
affected_version_id:
説明
The problem is that now is impossible to call the option of plugin setting via symbol, only via the string.
now:
irb(main):006:0> Setting.plugin_redmine_ckeditor["skin"] => "kama" irb(main):007:0> Setting.plugin_redmine_ckeditor[:skin] => nil irb(main):008:0> Setting.plugin_redmine_ckeditor.class => Hash irb(main):009:0> puts Redmine::VERSION 3.4.4.stable
earlier:
irb(main):001:0> Setting.plugin_redmine_ckeditor[:skin] => "kama" irb(main):002:0> Setting.plugin_redmine_ckeditor["skin"] => "kama" irb(main):003:0> Setting.plugin_redmine_ckeditor.class => ActionController::Parameters irb(main):004:0> puts Redmine::VERSION 3.3.4.stable
So now some plugins are not working correctly.
This is connected with issue #26393 and r16812
journals
+1
I am using some plugin (redmine knowledge base) which also used symbols as settings keys, which works fine in Redmine 3.2 but fails on Redmine 3.4.
A bug introduced in 3.4 I guess?
--------------------------------------------------------------------------------
いいね!0