I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Bug #2023

PDF export error when column "Notes" is added

Added by V.E.O V.E.O over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
16 Apr 2012
Due date:
08 Jul 2012
% Done:

100%

Redmine version:
External issue:

Description

Log:

NoMethodError (undefined method `notes' for #<Issue:0x48e4064>):
  lib/redmine/export/pdf.rb:244:in `block in fetch_row_values'
  lib/redmine/export/pdf.rb:239:in `collect'
  lib/redmine/export/pdf.rb:239:in `fetch_row_values'
  lib/redmine/export/pdf.rb:284: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:282:in `calc_col_width'
  lib/redmine/export/pdf.rb:411:in `issues_to_pdf'
  app/controllers/issues_controller.rb:89:in `block (2 levels) in index'
  app/controllers/issues_controller.rb:82:in `index'
  <internal:prelude>:10:in `synchronize'
  <internal:prelude>:10:in `synchronize'

Associated revisions

Revision 46 (diff)
Added by Andriy Lesyuk over 7 years ago

Overrode fetch_row_values for extended fields (fixes #2023), added == for CustomValue and _list.html.erb (fixes #2015), added Turkish translation (thanks Ismail Sezen)

History

#1 Updated by Andriy Lesyuk over 7 years ago

  • Target version set to 0.2.0b

#2 Updated by Andriy Lesyuk over 7 years ago

  • Status changed from New to Open

This is about “Notes” count in issues list...

#3 Updated by Andriy Lesyuk over 7 years ago

  • Due date set to 08 Jul 2012
  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF

Terms of use | Privacy policy