Project

General

Profile

Actions

Defect #10002

closed

500 error when exporting to csv or pdf when there is selected a custom field

Added by Javier Rujas almost 13 years ago. Updated over 12 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I've tried to export a list of issues to a csv or pdf file. I've received a 500 Internal server Error.
My settings:
Database: Postgresql 8.1
Ruby version: 1.8.7
Rails: 2.3.15

Log file:
Processing IssuesController#index to csv (for 10.2.102.55 at 2012-01-16 12:41:53) [GET]
Parameters: {"format"=>"csv", "project_id"=>"iberia-aria-53", "action"=>"index", "controller"=>"issues", "description"=>"1", "columns"=>""}

NoMethodError (undefined method `find_custom_field_template' for #<IssuesController:0x1ce601c8>):
app/helpers/issues_helper.rb:281:in `issues_to_csv'
app/helpers/issues_helper.rb:278:in `collect'
app/helpers/issues_helper.rb:278:in `issues_to_csv'
app/helpers/issues_helper.rb:277:in `each'
app/helpers/issues_helper.rb:277:in `issues_to_csv'
lib/faster_csv.rb:1053:in `generate'
app/helpers/issues_helper.rb:271:in `issues_to_csv'
app/controllers/issues_controller.rb:97:in `index'
app/controllers/issues_controller.rb:91:in `index'
config/initializers/mongrel.rb:62:in `dispatch_cgi'

Rendering F:/Aplicaciones/Redmine/REDMINE/public/500.html (500 Internal Server Error)

Actions

Also available in: Atom PDF