Project

General

Profile

Actions

Defect #14627

open

undefined method `show_value' on issues list PDF export

Added by remy H almost 11 years ago. Updated almost 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
PDF export
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Hello
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:257:in `collect'
lib/redmine/export/pdf.rb:257: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'
app/helpers/issues_helper.rb:25:in `each'
app/helpers/issues_helper.rb:25:in `issue_list'
lib/redmine/export/pdf.rb:300:in `calc_col_width'
lib/redmine/export/pdf.rb:428:in `issues_to_pdf'

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.

Actions

Also available in: Atom PDF