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

Updated by Andriy Lesyuk over 7 years ago

I'm getting the error below when trying to export the list of issues using the XLS Export plugin. This only happens with projects having custom fields. I tried with Extended Fields 0.1.0 as well as with the latest SVN snapshot (0.1.1 from Sep 7, 2012) - both with the same result.

+Environment+

ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-linux]

<pre>
*** LOCAL GEMS ***

actionmailer (2.3.14, 2.3.11)
actionpack (2.3.14, 2.3.11)
activemodel (3.0.9)
activerecord (2.3.14, 2.3.11)
activeresource (2.3.14, 2.3.11)
activesupport (3.0.9, 2.3.14, 2.3.11)
builder (2.1.2)
bundler (1.1.3)
coderay (1.0.6)
daemon_controller (0.2.6)
fastercsv (1.5.4)
fastthread (1.0.7)
i18n (0.5.0, 0.4.2)
mysql (2.8.1)
mysql2 (0.2.7)
net-ldap (0.3.1)
passenger (3.0.7)
rack (1.2.3, 1.1.3, 1.1.2, 1.1.0)
rack-test (0.5.7)
rails (2.3.14)
rake (0.9.2.2, 0.8.7)
ruby-ole (1.2.11.4)
ruby-openid (2.1.8)
rubyzip (0.9.9)
spreadsheet (0.7.3)
tzinfo (0.3.33)
</pre>


Redmine 1.4.1.stable.9617

Extended fields 0.1.0 or latest from SVN 0.1.1 (Sep 7, 2012)
Issues XLS export 0.2.1

+Error trace+
<pre>
Processing XlsExportController#export_current (for 10.11.31.114 at 2012-09-07 09:26:02) [GET]
Parameters: {"action"=>"export_current", "controller"=>"xls_export", "project_id"=>"myprojectname"}

NoMethodError (undefined method `find_custom_field_template' for #<XlsExportController:0xb593c140>):
vendor/plugins/redmine_xls_export/app/controllers/xls_export_controller.rb:116:in `export_to_string'
vendor/plugins/redmine_xls_export/app/controllers/xls_export_controller.rb:50:in `export_current'
passenger (3.0.7) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.7) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.7) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
passenger (3.0.7) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.7) helper-scripts/passenger-spawn-server:99
</pre>


Back

Terms of use | Privacy policy