Feature #2131
Redmine 2 / Rails 3 compatibility
80%
Description
Just tried to install the redmine-settings plugin into a Redmine 2 installation because I’m using it in one of my plugins.
Unfortunately, it isn’t compatible anymore since a few things changed with Rails 3.
I fiddled around with it for a bit and got so far to come up with this diff to at least avoid throwing exceptions. But still I had to add a manually-defined route for my settings page in my plugin and the view doesn’t show up anymore after the upgrade.
-require 'dispatcher' -RAILS_DEFAULT_LOGGER.info 'Starting Project Settings Hook Plugin for Redmine' +::Rails.logger.info 'Starting Project Settings Hook Plugin for Redmine' -Dispatcher.to_prepare :project_settings_hook_plugin do +Rails.configuration.to_prepare do
Do you have any plans to support Redmine 2 or should I roll my own settings hook?
History
#1 Updated by Andriy Lesyuk almost 12 years ago
- Status changed from New to Open
- Assignee set to Andriy Lesyuk
Yes, I have plans to update this plugin. Sorry for issues.
#2 Updated by Michael Irgendwer almost 12 years ago
+1 for making it redmine 2 compatible
I think especially as due to the recent security bugfixes for rails (and the resulting redmine updates) even more people would want to switch to redmine 2.2.x And for them (as for us) it is important to be able continuing using the plugins which in turn depend on your project
Having Marcus Ilgner airbrake exception notification working again would be really great, so thanks for the effort you put (and will put into this.
#3 Updated by Bruno Spyckerelle over 11 years ago
As long as it is not included in redmine ( http://www.redmine.org/issues/8332 ), it would be helpfull that your plugin is compatible with redmine 2.3.
Thanks in advance.
#4 Updated by Andriy Lesyuk over 11 years ago
- Due date set to 18 Aug 2013
- Status changed from Open to In Progress
- % Done changed from 0 to 80
I believe the plugin should now work fine with recent versions of Redmine. Please check and confirm.