Project

General

Profile

Actions

Defect #10168

closed

CSV export breaks custom columns

Added by Wolfgang Schnerring almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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.


Files

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

Also available in: Atom PDF