How to include a Custom filed with a comma inside it's name in CSV export file

General discussion of Mantis.

Moderators: Contributor, Developer

Post Reply
ninja-tester
Posts: 6
Joined: Jul 05, 2017 3:31 am
Location: Russia\Samara
Contact:

How to include a Custom filed with a comma inside it's name in CSV export file

Post by ninja-tester » Apr 03, 2018 9:52 am

I have a Custom field's name with a comma (,). It has system name "custom_Client, bla bla", for example. That's bad, but I can't change it :cry:
I have to create a CSV report dayly and this report must include this filed.
When I try to edit "CSV Columns" Textarea in a http://mantis.o-code.ru/account_manage_columns_page.php and add "custom_Client, bla bla" there I get error message:

APPLICATION ERROR #2601
Field "csv" contains invalid field "custom_Client".

Any ways to solve it?

atrol
Site Admin
Posts: 7305
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: How to include a Custom filed with a comma inside it's name in CSV export file

Post by atrol » Apr 03, 2018 10:00 am

Store the column configuration without the change.

After that, as a workaround, use page Manage > Manage Configuration > Configuration Report to edit settings.

Choose appropriate "username" and "Project Name"
Choose "Configuration option" csv_columns.
Please use Search before posting and read the Manual

ninja-tester
Posts: 6
Joined: Jul 05, 2017 3:31 am
Location: Russia\Samara
Contact:

Re: How to include a Custom filed with a comma inside it's name in CSV export file

Post by ninja-tester » Apr 04, 2018 3:05 am

atrol wrote:
Apr 03, 2018 10:00 am
use page Manage > Manage Configuration > Configuration Report to edit settings.

Choose appropriate "username" and "Project Name"
Choose "Configuration option" csv_columns.
Greate, it's working. Thank you!

Post Reply