zulip / zulip-redmine-plugin

Redmine plugin for Zulip notifications on issue tracker changes
Apache License 2.0
12 stars 17 forks source link

Project Settings cant access #35

Open maheshorelit opened 3 years ago

maheshorelit commented 3 years ago

Hi,

After installing the plugin, the project settings display "Internal error" and the log show as below, please help me to the solve this issue.

Error Log

`Started GET "/projects/test/settings" for 192.168.107.7 at 2021-10-13 16:21:16 +0530 Processing by ProjectsController#settings as HTML Parameters: {"id"=>"test"} Current user: admin (id=1) Rendering projects/settings.html.erb within layouts/base Rendered projects/_form.html.erb (11.4ms) Rendered projects/_edit.html.erb (12.3ms) Rendered projects/settings/_members.html.erb (3.5ms) Rendered projects/settings/_issues.html.erb (7.1ms) Rendered plugins/scrum/app/views/help/project_settings/_sprints.html.erb (0.0ms) Rendered plugins/scrum/app/views/help/_support.html.erb (0.2ms) Rendered plugins/scrum/app/views/help/_help.js.erb (0.1ms) Rendered plugins/scrum/app/views/help/_help.html.erb (1.0ms) Rendered plugins/scrum/app/views/projects/settings/_sprints.html.erb (7.0ms) Rendered plugins/scrum/app/views/help/project_settings/_product_backlogs.html.erb (0.0ms) Rendered plugins/scrum/app/views/help/_support.html.erb (0.2ms) Rendered plugins/scrum/app/views/help/_help.js.erb (0.1ms) Rendered plugins/scrum/app/views/help/_help.html.erb (1.0ms) Rendered plugins/scrum/app/views/projects/settings/_product_backlogs.html.erb (2.9ms) Rendered projects/settings/_versions.html.erb (3.0ms) Rendered projects/settings/_issue_categories.html.erb (1.4ms) Rendered projects/settings/_repositories.html.erb (1.2ms) Rendered projects/settings/_boards.html.erb (1.4ms) Rendered projects/settings/_activities.html.erb (6.1ms) Rendered plugins/redmine_custom_workflows/app/views/projects/settings/_custom_workflow.html.erb (5.3ms) Rendered plugins/redmine_zulip/app/views/projects/settings/_redmine_zulip.html.erb (29.4ms) Rendered common/_tabs.html.erb (87.0ms) Rendered projects/settings.html.erb within layouts/base (89.0ms) Completed 500 Internal Server Error in 105ms (ActiveRecord: 9.2ms)

ActionView::Template::Error (undefined method `zulip_url' for #): 2:

3:

4: <%= content_tag(:label, l(:field_zulip_url)) %> 5: <%= f.text_field :zulip_url %> 6:

7:

8: <%= content_tag(:label, l(:field_zulip_email)) %>

plugins/redmine_zulip/app/views/projects/settings/_redmine_zulip.html.erb:5:in block in _plugins_redmine_zulip_app_views_projects_settings__redmine_zulip_html_erb___2598373033773783355_101680' plugins/redmine_zulip/app/views/projects/settings/_redmine_zulip.html.erb:1:in_plugins_redmine_zulip_app_views_projects_settingsredmine_zulip_htmlerb2598373033773783355_101680' app/views/common/_tabs.html.erb:21:in block in _app_views_common__tabs_html_erb__4318244462379308039_101120' app/views/common/_tabs.html.erb:20:ineach' app/views/common/_tabs.html.erb:20:in _app_views_common__tabs_html_erb__4318244462379308039_101120' app/helpers/application_helper.rb:481:inrender_tabs' app/views/projects/settings.html.erb:3:in _app_views_projects_settings_html_erb__1612233068158226400_101100' lib/redmine/sudo_mode.rb:61:insudo_mode' ` and my Redmine server details as below,

Server details

Environment: Redmine version 4.2.3.stable Ruby version 2.7.0-p0 (2019-12-25) [x86_64-linux-gnu] Rails version 5.2.6 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Git 2.25.1 Filesystem
Redmine plugins: dashboard 1.0.11 kanban 0.0.9 progressive_projects_list 4.0.0 redmine_custom_workflows 1.0.6 redmine_dashboard 2.11.0 redmine_issue_dynamic_edit 0.7.2 redmine_zulip 2.1.2 scrum 0.20.0

Error Message

zulip_pluging_error