Quantcast
Viewing latest article 38
Browse Latest Browse All 57

Defect #28529 (New): Plugin settings trouble

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

Viewing latest article 38
Browse Latest Browse All 57

Trending Articles