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 #1934

Export to csv fails, NoMethodError (undefined method `find_custom_field_template'

Added by John Smitt about 8 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
06 Jan 2012
Due date:
% Done:

100%

Redmine version:
1.3.0
External issue:

Description

Processing TimelogController#index to csv[GET]
  Parameters: {"format"=>"csv", "project_id"=>"redmine", "action"=>"index", "controller"=>"timelog"}

NoMethodError (undefined method `find_custom_field_template' for #<TimelogController:0x7f82d5861280>):
  app/helpers/timelog_helper.rb:119:in `entries_to_csv'
  app/helpers/timelog_helper.rb:119:in `collect'
  app/helpers/timelog_helper.rb:119:in `entries_to_csv'
  app/helpers/timelog_helper.rb:108:in `each'
  app/helpers/timelog_helper.rb:108:in `entries_to_csv'
  lib/faster_csv.rb:1053:in `generate'
  app/helpers/timelog_helper.rb:89:in `entries_to_csv'
  app/controllers/timelog_controller.rb:93:in `index'
  app/controllers/timelog_controller.rb:54:in `index'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/utils.rb:252:in `safe_fork'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/railz/application_spawner.rb:222:in `start'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb:253:in `spawn_rails_application'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb:247:in `spawn_rails_application'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb:246:in `spawn_rails_application'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb:145:in `spawn_application'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb:278:in `handle_spawn_application'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
  /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  /usr/lib/phusion_passenger/passenger-spawn-server:61

(500 Internal Server Error)

About your application’s environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.1
Rails version 2.3.14
Active Record version 2.3.14
Active Resource version 2.3.14
Action Mailer version 2.3.14
Active Support version 2.3.14
Environment production
Database adapter mysql
Database schema version 20110902000000

About your Redmine plugins
Extended fields 0.0.1b


Related issues

Related to Extended Fields - Bug #1936: Undefined method `find_custom_field_template' Closed 06 Jan 2012 01 Feb 2012
Related to Extended Fields - Bug #2261: issues PDF view and descriptions Incomplete 04 Nov 2013
Related to Extended Fields - Bug #2318: Issues as pdf In Progress 25 Jun 2014

Associated revisions

Revision 19 (diff)
Added by Andriy Lesyuk about 8 years ago

Some refactoring, added check for format fixing #1934 and #1936

History

#1 Updated by John Smitt about 8 years ago

redmine 1.3.0

#2 Updated by Andriy Lesyuk about 8 years ago

  • Status changed from New to Open
  • Target version set to 0.1.0

#3 Updated by Andriy Lesyuk about 8 years ago

  • Status changed from Open to Under Verification
  • % Done changed from 0 to 90

Should be fixed! Needs testing and confirmation!

#4 Updated by Andriy Lesyuk about 8 years ago

  • % Done changed from 90 to 100

Please update from SVN and confirm the issue has gone.

#5 Updated by John Smitt about 8 years ago

The export started working.

#6 Updated by Andriy Lesyuk about 8 years ago

  • Status changed from Under Verification to Closed

#7 Updated by Andriy Lesyuk over 3 years ago

  • Related to Bug #2261: issues PDF view and descriptions added

#8 Updated by Andriy Lesyuk over 3 years ago

#9 Updated by Andriy Lesyuk over 3 years ago

  • Description updated (diff)

Also available in: Atom PDF

Terms of use | Privacy policy