Page 1 of 1

add custom field on csv export on mantis 1.1.8

Posted: 17 Feb 2012, 14:49
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?

Re: add custom field on csv export on mantis 1.1.8

Posted: 18 Feb 2012, 09:19
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.

Re: add custom field on csv export on mantis 1.1.8

Posted: 20 Feb 2012, 11:19
by s.bondi
thank you very much! I will do it