Multiple plugins not working properly (NoMethodError)
Added by Marvin Wendland over 2 years ago
Since we have upgraded to redmine version 4.2.3, every plugin we have tried to install has not worked properly.
Installing the plugin and running the migrations with "RAILS_ENV=production bundle exec rake redmine:plugins:migrate" works without problems, but when trying to access the plugins functions in redmine, we get an error in the form of:
"NoMethodError (undefined method 'MethodName' for nil:NilClass)"
To our understanding, this means that the object for which the methods are called are not passed properly.
For some plugins we managed to fix this by altering the controller of the plugin slightly, but since this happens for every plugin we install, there seems to be a problem with our redmine installation that we cannot locate with our limited knowledge. Any idea what might cause this?
Plugins where this has happened:
Checklists: https://www.redmine.org/plugins/redmine_checklists
Agile: https://www.redmine.org/plugins/redmine_agile
Issue templates: https://www.redmine.org/plugins/redmine_issue_templates
Tags: https://www.redmine.org/plugins/redmineup_tags
Ruby: ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-linux]
Rails: Rails 5.2.6
OS: Ubuntu 18.04.6 LTS
DB: 10.3.8-MariaDB-log
example.png (17 KB) example.png | Example of the error that plugins produce |
Replies (1)
RE: Multiple plugins not working properly (NoMethodError) - Added by Dimitar (RedmineUP) about 2 years ago
Hi Marvin,
This is Dimitar from the RedmineUP Support Team.
I see that you have some of our plugins on your list:
- Checklists: https://www.redmine.org/plugins/redmine_checklists
- Agile: https://www.redmine.org/plugins/redmine_agile
- Tags: https://www.redmine.org/plugins/redmineup_tags
So, could you please contact our support team at support@redmineup.com? And our support engineers will help you investigate the situation that you reported.
We look forward to hearing from you.
Best Regards,
Dimitar from the RedmineUP Support Team
Marvin Wendland wrote:
Since we have upgraded to redmine version 4.2.3, every plugin we have tried to install has not worked properly.
Installing the plugin and running the migrations with "RAILS_ENV=production bundle exec rake redmine:plugins:migrate" works without problems, but when trying to access the plugins functions in redmine, we get an error in the form of:"NoMethodError (undefined method 'MethodName' for nil:NilClass)"
To our understanding, this means that the object for which the methods are called are not passed properly.
For some plugins we managed to fix this by altering the controller of the plugin slightly, but since this happens for every plugin we install, there seems to be a problem with our redmine installation that we cannot locate with our limited knowledge. Any idea what might cause this?Plugins where this has happened:
Checklists: https://www.redmine.org/plugins/redmine_checklists
Agile: https://www.redmine.org/plugins/redmine_agile
Issue templates: https://www.redmine.org/plugins/redmine_issue_templates
Tags: https://www.redmine.org/plugins/redmineup_tagsRuby: ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-linux]
Rails: Rails 5.2.6
OS: Ubuntu 18.04.6 LTS
DB: 10.3.8-MariaDB-log