Defect #12253

config.plugins setting does not works

Added by Dan K over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Plugin API
Target version:-
Resolution:Invalid Affected version:2.0.3

Description

I tryed to set plugins load order via

config.plugins = [ :plugin_name_b, :plugin_name_a ]

in application.rb (how it pointed inside at comments), also i've tryed to do this in additional_enviroment.rb

Load order does not works :(

config.plugins = %w(plugin_name_b plugin_name_a) not works too

plugin_name_a always loads first than name_b

Despite of only one plugin pointed via directive, all of the plugins in redmine/plugins loads. Seems like config.plugins option does not works.

Environment:
Redmine version 2.0.3.stable.9901
Ruby version 1.9.3 (i686-linux)
Rails version 3.2.6

History

#1 Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

config.plugins option is a Rails thing, it is not supposed to work for Redmine plugins.

Also available in: Atom PDF