Dependency Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009904 | mantisbt | csv | public | 2008-11-26 17:19 | 2009-06-26 12:02 |
| Reporter | tmatijas | Assigned To | vboctor | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | duplicate | ||
| Product Version | 1.1.4 | ||||
| Summary | 0009904: Feilds like 'BUILD' get 'undefined function print_column_title_build()' when export to csv. KNOWN issue / FIX in 1.2 NOT 1.1.x | ||||
| Description | When you add some feilds like 'build' to the array for csv export in the config_inc.php file under $g_csv_columns = array, you get this is excell: Fatal error: Call to undefined function print_column_title_build() in C:\Inetpub\wwwroot\gsetracking\csv_export.php on line 83 in excel. I see there was an attempt and a fix in version 1.2.x for this and it works.. Also added an excel export which also works. However, NO FIX has been ported to version 1.1.4 and 1.1.5 I attempted to merge some code from 1.2x to see if I could fix this but have been unsuccessful. Example is some lines in csv_api.php.. Lines like This were added in 1.2.x that were not in 1.1.x --------------------return the os build (os version) SLAV - ADDED FROM 1.2function csv_format_build( $p_build ) { there are 3 other added functions including lines like the above which deal with $p_summary, $p_steps_to_reproduce and $p_additional_information... There was also a change to a function called function csv_escape_string Obviously mantis developers are aware of this problem and fixed it in 1.2 ... Is there a plan to fix this in 1.6? Also, Got any diff files I can use to fix? | ||||
| Steps To Reproduce | Add ,'build' to the $g_csv_columns in config_inc.php and then try to export a csv file on any ticket. You will get the error in excell or any editor you use to open csv. | ||||
| Tags | No tags attached. | ||||
|
Sorry, typo - Is there a plan to fix this in version 1.1.6?. Also, Got any diff files I can use to fix? |
|
|
See the patch linked to from 0008874 |
|
|
Vboctor. Thank you buddy, I appreciate your help. Patch from 0000074 worked like a charm... |
|
|
Sorry, I don't quite get it. Does it mean that it is fixed in version 1.1.6? I tried to patch the 3 files from 0008874 but it didn't work on the version 1.1.6 I am using. |
|
related to
child of
duplicate of