Defect #46

List Issues export to pdf error

Added by Amedeo Amedeo over 12 years ago. Updated over 12 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution: Affected version:

Description

When the list of issues comes from a custom query the export to pdf generate an error.
This is probably due to the new feature of addiing custom_fields to the query.

This problem is fixed with the following patch:

Index: app/controllers/projects_controller.rb ===================================================================
--- app/controllers/projects_controller.rb (revision 448)
+++ app/controllers/projects_controller.rb (working copy)

@ -337,7 +338,7 @
render :action => 'list_issues' and return unless @query.valid?

@issues =  Issue.find :all, :order => sort_clause,
- :include => [ :author, :status, :tracker, :priority ],
+ :include => [ :author, :status, :tracker, :priority, :custom_values ],
:conditions => @query.statement,
:limit => Setting.issues_export_limit

History

#1 Updated by Jean-Philippe Lang over 12 years ago

This was fixed in revision 452.
Thanks.

Also available in: Atom PDF