haru / redmine_code_review

70 stars 29 forks source link

Internal Server Error with version 0.9.0 #15

Closed dnyamy closed 5 years ago

dnyamy commented 5 years ago

Hello, I am having troubles to get the plugin work with my Redmine Install I use Redmine 3.4 in production

The plugin installed well and I can see it in the plugin list

But when I try to configure a project by clicking the configuration tab, I get an internal error

`Started GET "/projects/myprojectname/settings" for 80.214.115.115 at 2019-01-24 19:35:05 +0100 Processing by ProjectsController#settings as HTML Parameters: {"id"=>"myprojectname"} Current user: dnyamy (id=5) Rendered projects/settings.html.erb within layouts/base (137.6ms) Completed 500 Internal Server Error in 167ms (ActiveRecord: 15.7ms)

ActionView::Template::Error (super: no superclass method project_settings_tabs' for #<#:0x007ff052ee7510> Did you mean? project_settings_tabs_with_code_review): 1: <%=l(:label_settings)%> 2: 3: <%= render_tabs project_settings_tabs %> 4: 5: <% html_title(l(:label_settings)) -%> plugins/redmine_dmsf/lib/redmine_dmsf/patches/projects_helper_patch.rb:29:in project_settings_tabs' plugins/redmine_code_review/lib/code_review_projects_helper_patch.rb:35:in project_settings_tabs_with_code_review' plugins/redmine_dmsf/lib/redmine_dmsf/patches/projects_helper_patch.rb:29:in project_settings_tabs' app/views/projects/settings.html.erb:3:in _app_views_projects_settings_html_erb___3567123408715600042_70335077502180' lib/redmine/sudo_mode.rb:63:in sudo_mode' plugins/redmine_dmsf/lib/redmine_dmsf/webdav/custom_middleware.rb:62:in call'

There seems to be an incompatibility with another plugin I have: redmine_dmsf

Please can some body advise ?

Thanks Dorice

dskibarko commented 5 years ago

Seems worked fine on Redmine 3.4.5 then was changed line of Init.rb to requires_redmine :version_or_higher => '3.4.0' instead of line requires_redmine :version_or_higher => '4.0.0'

dnyamy commented 5 years ago

May be I should put my complete environment

Environment: Redmine version 3.4.0.stable Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux-gnu] Rails version 4.2.8 Environment production Database adapter Mysql2 SCM: Mercurial 3.7.3 Git 2.7.4 Filesystem
Redmine plugins: redmine_agile 1.4.5 redmine_checklists 3.1.5 redmine_dmsf 1.6.1 redmine_impersonate 1.0.0 redmine_language_cph 0.1.0 redmine_people 1.3.2 redmine_silencer 0.4.1 redmine_wysiwyg_editor 0.3.0

Would really appreciate some help Regards

haru commented 5 years ago

Maybe one of plugins conflicts with code review plugin. But I don't know what it is.

dnyamy commented 5 years ago

Problem solved At last It was indeed a conflict, with redmine dmsf plugin Fixed by following commit : https://github.com/danmunn/redmine_dmsf/commit/689b2dc7930eca92a89c839070b2e79b8e461c6d