Defect #35823
Updated by Mischa The Evil about 3 years ago
Hi, I am using latest Redmine SVN version, I am having trouble opening some issuses (some are OK, some cause error). This is what I get: <pre> Started GET "/issues/4617" for xx.xx.xx.xx at 2021-08-28 09:07:21 +0200 Processing by IssuesController#show as HTML Parameters: {"id"=>"4617"} Current user: xxxx (id=3) Rendered issues/show.html.erb within layouts/base (Duration: 996.0ms | Allocations: 133997) Rendered layout layouts/base.html.erb (Duration: 996.6ms | Allocations: 134036) Completed 500 Internal Server Error in 2302ms (ActiveRecord: 371.0ms | Allocations: 325712) ActionView::Template::Error (undefined method `+' for nil:NilClass): 10: 11: <h3><%= l(:"label_#{watched_klass_name}_watchers") %> (<%= watched.watcher_users.size %>)</h3> 12: 13: <%= watchers_list(watched) %> app/helpers/application_helper.rb:75:in `link_to_principal' app/helpers/application_helper.rb:54:in `link_to_user' app/helpers/watchers_helper.rb:54:in `block in watchers_list' app/helpers/watchers_helper.rb:51:in `collect' app/helpers/watchers_helper.rb:51:in `watchers_list' app/views/watchers/_watchers.html.erb:13 app/views/issues/show.html.erb:142 app/views/issues/show.html.erb:136 app/controllers/issues_controller.rb:118:in `block (2 levels) in show' app/controllers/issues_controller.rb:110:in `show' lib/redmine/sudo_mode.rb:61:in `sudo_mode' </pre> <pre> $ruby bin/about sh: hg: command not found sh: cvs: command not found sh: bzr: command not found Environment: Redmine version 4.2.2.devel.21201 Ruby version 2.5.9-p229 (2021-04-05) [x86_64-linux] Rails version 6.1.4.1 Environment production Database adapter PostgreSQL Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Subversion 1.9.7 Git 2.14.3 Filesystem Redmine plugins: periodictask 4.1.0 projects_table 0.0.4 redmine_editauthor 0.11.0 redmine_impersonate 0.10.0 redmine_timelog_timer 2.0.1 sidebar_hide 0.0.8 </pre> BTW: also happens if all plugins are disabled