redmine_stealth
redmine_stealth copied to clipboard
Can't convert nil into string : init.rb row 24 Redmine 2.3.1
Hello, I used this plugin on a redmine v2.3.0 and after a light upgrade in v2.3.1, this issue appears. Can(t convert nil into string on init.rb(24)
I have just changed the code to this to get it to work !
#plugin_locale_glob = respond_to?(:directory) ? # File.join(directory, 'config', 'locales', '*.yml') : plugin_locale_glob = File.join(Rails.root, 'vendor', 'plugins', 'redmine_stealth', 'config', 'locales', '*.yml')
And everything is ok now !
I'm getting this issue as well. The former path is for Rails 3, while the latter is for Rails > 2 I believe.
Fix works also in redmine 2.4.2.
I can confirm this bug and the fix.
Fix works in redmine 2.5.1. Thanks !