-Want to Add two fields in CSV Excel file-

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
sumathi
Posts: 14
Joined: 09 Jun 2015, 05:24

-Want to Add two fields in CSV Excel file-

Post by sumathi »

Hello,

I want to add two fields in my CSV Export that is "Note and Description" field should be displayed in my Excel Sheet can any one help on which file should i want to do this .
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: -Want to Add two fields in CSV Excel file-

Post by atrol »

Which version of MantisBT do you use?
Please use Search before posting and read the Manual
sumathi
Posts: 14
Joined: 09 Jun 2015, 05:24

Re: -Want to Add two fields in CSV Excel file-

Post by sumathi »

I use mantis 1.1.6 version please atrol don't say change the version :) tell me on which php file should i want to add "Note" column.And that should be displayed in my CSV Excel sheet
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: -Want to Add two fields in CSV Excel file-

Post by atrol »

sumathi wrote: please atrol don't say change the version
Change the version.

Should work this way using your outdated version.
viewtopic.php?f=4&t=8621&p=22849&#p22849
Just replace the option name by csv_columns

please sumathi don't say that I should test it in 1.1.6 :)

Did I already say that you should change the version?
Of course you should, as version 1.2.x offers a page "Manage Columns" where you can configure the columns for "View Issues" page , CSV and Execel.
Please use Search before posting and read the Manual
sumathi
Posts: 14
Joined: 09 Jun 2015, 05:24

Re: -Want to two customized fields in CSV Excel file-

Post by sumathi »

I did accordng to the video

Input given:
Username : All Users
Project name : All Projects:
Configuration option : csv_columns
Type : Integer
value :array ( 0 => 'id',1 => 'project', 2 => 'reporter', 3 => 'assigned',4 => 'priority', 5 => 'reproducibility', 6 => 'category' , 7=> 'date submitted',8 => 'view status', 9 => 'updated',10 => 'summary',11 => 'status',12 => 'resolution', 13 => 'cspl issue type',
14 => 'cspl invoice type'
,)

It was submitted but its was not displayed in" view_all_bug_page.php" and when i export i got this error :(

Error:

<p style="color:red">SYSTEM WARNING: Invalid argument supplied for foreach()</p>
sumathi
Posts: 14
Joined: 09 Jun 2015, 05:24

Re: -Error in updating version 1.2.19 -

Post by sumathi »

- I created new DB and getting DB error when updating version 1.2.19 should i want to use same DB
- can u say me how to rectify this and procedure to upgrade version
if version updation done can i add my customized field in config_default_inc.php will it receive in CSV EXCEL file
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: -Want to Add two fields in CSV Excel file-

Post by atrol »

On which step do you get which kind of error (exact message)?
https://www.mantisbt.org/docs/master-1. ... LL.UPGRADE
Please use Search before posting and read the Manual
sumathi
Posts: 14
Joined: 09 Jun 2015, 05:24

Re: -how to update version-

Post by sumathi »

can u help me step wise how to upgrade my version
sumathi
Posts: 14
Joined: 09 Jun 2015, 05:24

Re: -Error while upgrading version-

Post by sumathi »

this is error i get while upgrading
Error file
Error file
error.jpg (102.21 KiB) Viewed 11384 times
Errorpage.jpg
Errorpage.jpg (120.12 KiB) Viewed 11383 times
sumathi
Posts: 14
Joined: 09 Jun 2015, 05:24

Re: - Issue in Username Pwd in new version -

Post by sumathi »

I upgraded Version 1.2.19 what username and password should be given is there any defalut username and password is been set
login error.jpg
login error.jpg (75.88 KiB) Viewed 11306 times
favioagg
Posts: 18
Joined: 04 May 2015, 18:35

Re: -Want to Add two fields in CSV Excel file-

Post by favioagg »

[offtopic].... he... he still uses internet explorer... i... i cant... i can't even...[/offtopic]

You are not changing the default user on initial install do you? also, does de DB have special usernames or passwords? (defaul to administrator/root)

That error is an user creation error.
sumathi
Posts: 14
Joined: 09 Jun 2015, 05:24

Re: - Added two fields in CSV Excel file &nbsp;-

Post by sumathi »

I have added the columns but &nbsp; is displayed in corresponding CSV Columns how to remove on which file i have to do the change
Post Reply