jfqd / redmine_helpdesk

Lightweight helpdesk plugin for redmine.
MIT License
195 stars 101 forks source link

Error when trying to view an issue #118

Closed dajester2013 closed 4 years ago

dajester2013 commented 8 years ago

I'm running Redmine 3.2.1 via Docker, and I get this error message when trying to view certain issues:

ActionView::Template::Error (undefined method `send_to_owner' for #<Journal:0x007f5adb76abc8>):
    24:     <%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
    25:     </div>
    26:   </div>
    27:   <%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
    28: <% end %>
    29:
    30: <% heads_for_wiki_formatter if User.current.allowed_to?(:edit_issue_notes, issue.project) || User.current.allowed_to?(:edit_own_issue_notes, issue.project) %>
  plugins/redmine_helpdesk/lib/helpdesk_hooks.rb:31:in `view_issues_history_journal_bottom'
  lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `block in call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:96:in `call_hook'
  app/views/issues/_history.html.erb:27:in `block in _app_views_issues__history_html_erb__948530650923177053_70013740672300'
  app/views/issues/_history.html.erb:2:in `each'
  app/views/issues/_history.html.erb:2:in `_app_views_issues__history_html_erb__948530650923177053_70013740672300'
  app/views/issues/show.html.erb:124:in `_app_views_issues_show_html_erb___1037136481863856653_70013675779420'
  app/controllers/issues_controller.rb:118:in `block (2 levels) in show'
  app/controllers/issues_controller.rb:115:in `show'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'