View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022428 | mantisbt | markdown | public | 2017-02-28 06:15 | 2017-05-30 07:46 |
Reporter | adelav1 | Assigned To | vboctor | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | Windows | OS Version | 2008R2 |
Product Version | 2.2.0 | ||||
Target Version | 2.4.1 | Fixed in Version | 2.4.1 | ||
Summary | 0022428: CSV and Excel exports with markdown on | ||||
Description | With markdown enabled, in csv and excel exports, custom field values are rendered as html.
| ||||
Tags | No tags attached. | ||||
Attached Files | |||||
related to | 0022180 | new | Markdown issues following implementation in 0017920 | |
has duplicate | 0022828 | closed | atrol | Numeric custom field produces invalid Excel xml |
has duplicate | 0022848 | closed | atrol | Export to excel generates error |
related to | 0022926 | closed | vboctor | Custom Fields - Date: Field does not show date (view.php), shows other text |
related to | 0022937 | closed | vboctor | Custom fields of type Email are not properly displayed |
related to | 0022950 | closed | vboctor | Custom Fields of Type Text showing Link (Url) as Text only |
Same situation for me on |
|
This mainly happens with custom fields and it also fully corrupts the export file if there is a numeric custom field. |
|
This is caused by The fix for this should include the following:
Check CSV as well, since it may be affected by this bug. |
|
MantisBT: master-2.4 8dad4e18 2017-05-14 19:43 Details Diff |
Fix CSV and Excel export when markdown is enabled The output for CSV and Excel included paragraph html tags which polluted the output and corrupted Excel output when there are numeric custom fields. This was caused by calling html processing when getting the value of custom fields. The fix is to have the retrieval of custom field values not process it for any output and have the calling code do the appropriate processing. The code also now does processing based on the custom field type rather than treating types all as string. Fixes 0022428 |
Affected Issues 0022428 |
|
mod - core/cfdefs/cfdef_standard.php | Diff File | ||
mod - core/classes/MantisColumn.class.php | Diff File | ||
mod - core/csv_api.php | Diff File | ||
mod - core/custom_field_api.php | Diff File | ||
mod - core/excel_api.php | Diff File | ||
mod - csv_export.php | Diff File | ||
mod - excel_xml_export.php | Diff File |