Project

General

Profile

problem with redmine_print_issue

Added by Pavel Bezrukov almost 7 years ago

Hello, my configuration

Environment:
  Redmine version                3.3.5.stable
  Ruby version                   2.3.4-p301 (2017-03-30) [x86_64-linux]
  Rails version                  4.2.7.1
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.10
  Git                            2.1.4

redmine_print_issue            2.0.4

Plugin crashing 500 Internal Server Error

NoMethodError (undefined method `+' for nil:NilClass):
plugins/redmine_print_issue/lib/redmine_print_issue/patches/issues_controller_patch.rb:24:in `show_with_print'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

in plugins/redmine_print_issue/lib/redmine_print_issue/patches/issues_controller_patch.rb 24 str

@issue.render_odt @issue.odt_path(Setting.plugin_redmine_print_issue["tracker_#{@issue.tracker_id.to_s}_template"]+'.odt'), ofile.path

help me plz