Defect #10168

CSV export breaks custom columns

Added by Wolfgang Schnerring over 5 years ago. Updated over 5 years ago.

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

0%

Category:Issues
Target version:1.4.0
Resolution:Fixed Affected version:1.3.1

Description

The CSV export gained the ability to display all sorts of columns through #4742 (tested with Redmine r8808, 1.3-stable branch), but the current implementation bypasses the column API, thereby breaking custom columns (e.g. provided by plugins).

issues_to_csv calls value = issue.send(column.name) for non-custom-field columns, even though QueryColumn defines #value(issue) to retrieve the column's value, if I understand that correctly.

csv_column.patch Magnifier (515 Bytes) Wolfgang Schnerring, 2012-02-07 16:01

Associated revisions

Revision 9381
Added by Jean-Philippe Lang over 5 years ago

CSV export breaks custom columns (#10168).

History

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

  • Target version set to 1.4.0
  • Resolution set to Fixed

Committed in r9381, thanks.

#2 Updated by Jean-Philippe Lang over 5 years ago

  • Status changed from New to Closed

Merged.

Also available in: Atom PDF