undefined method `show_value' on issues list PDF export
I had a problem when I tried to export to PDF my issues. Here is the trace :
NoMethodError (undefined method `show_value'):
lib/redmine/export/pdf.rb:260:in `block in fetch_row_values'
lib/redmine/export/pdf.rb:302:in `block in calc_col_width'
app/helpers/issues_helper.rb:29:in `block in issue_list'
I found what was wrong :
"include CustomFieldsHelper" is missing in /lib/export/pdf.rb
to call "show_value" in "fetch_row_values" method.
Maybe someone should fix this.
#2 Updated by Toshi MARUYAMA about 9 years ago
I cannot reproduce.
Issue controller includes CustomFieldsHelper.
#3 Updated by Toshi MARUYAMA about 9 years ago
Issues helper uses show_value.
It may be better including in issues helper than lib/redmine/export/pdf.rb.