Patch #7071

plugin settings partial path collision

Added by Erik Ordway over 11 years ago. Updated about 9 years ago.

Status:ClosedStart date:2010-12-07
Priority:NormalDue date:
Assignee:Jean-Baptiste Barth% Done:


Target version:-


So for plugins that use
for the site with plugin configuration have a collision caused by having the same path. This path is configured via
settings :default => {'bbb_server' => ''}, :partial => 'settings/settings'
as an example.

multiple plugins use this (the older CAS one and the newer bigbluebox plugin for example) do this. Because of this you can not get to the BBB configuration as the CAS _settings partial loads instead.

There are two options to fix this.
The first is to rename
change the
settings =>
as needed

The other option is to change the name of the partial and the settings => as needed.

I have done the first and not tested the latter although it maybe the better solution.

Note in the plugin development documentation the preferred way of doing this.


#1 Updated by Mischa The Evil over 11 years ago

  • Category set to Documentation

#2 Updated by Rocco Stanzione over 10 years ago

Surely it's possible to prevent this conflict within Redmine? I've run into this several times and only just now realized the cause of the problem. +1.

#3 Updated by Jean-Baptiste Barth about 9 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Baptiste Barth

Added a note in Plugin_Tutorial, and I also think there should be a visible warning about that, so I opened #14008 for future implementation. I close this one.

Also available in: Atom PDF