Actions
Defect #28529
openPlugin settings trouble
Status:
New
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
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
Updated by Rang Tang almost 6 years ago
+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?
Actions