add custom field on csv export on mantis 1.1.8

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
s.bondi
Posts: 3
Joined: 17 Feb 2012, 11:10

add custom field on csv export on mantis 1.1.8

Post by s.bondi »

Hello,
I tried to follow the steps on the video retrived on other discussion
----------------------------------
Re: How can i customize CSV export
Should work the same way I explained for "View Issues" columns.
Use csv_columns instead of view_issues_page_columns
http://www.atrol.de/mantisbt/Customview.wmv
-------------------------------------------------------------
but when I tried to export the csv the file is corrupted. On the csv file appear:
<p style="color:red">SYSTEM WARNING: array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array</p><p style="color:red">SYSTEM WARNING: Invalid argument supplied for foreach()</p><p style="color:red">SYSTEM WARNING: array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array</p><p style="color:red">SYSTEM WARNING: Invalid argument supplied for foreach()</p><p style="color:red">SYSTEM WARNING: array_values() [<a href='function.array-values'>function.array-values</a>]: The argument should be an array</p><p style="color:red">SYSTEM WARNING: Invalid argument supplied for foreach()</p>

Can anyone help me?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: add custom field on csv export on mantis 1.1.8

Post by atrol »

1.1.8 is outdated.
I recommend to use latest stable version (1.2.8 at the moment).
1.2.8 provides pages where users can customize the columns in an easier way.
Please use Search before posting and read the Manual
s.bondi
Posts: 3
Joined: 17 Feb 2012, 11:10

Re: add custom field on csv export on mantis 1.1.8

Post by s.bondi »

thank you very much! I will do it
Post Reply