add custom field on csv export on mantis 1.1.8
Posted: 17 Feb 2012, 14:49
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?
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?