Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0040647 | Openbravo ERP | A. Platform | public | 2019-04-18 15:36 | 2019-05-21 15:16 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR19Q3 | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0040647: escape formulas when exporting csv |
Description | When exporting to cvs, if a value starts with equals it should be escaped not to treat it as a formula when opened with as spreadsheet. |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0040646 | | closed | nonofrancisco | use proper html escape in old selectors | causes | defect | 0041747 | pi | closed | alostale | Negative values have string format when they are exported to csv file |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-04-18 15:36 | alostale | New Issue | |
2019-04-18 15:36 | alostale | Assigned To | => platform |
2019-04-18 15:36 | alostale | OBNetwork customer | => No |
2019-04-18 15:36 | alostale | Modules | => Core |
2019-04-18 15:36 | alostale | Triggers an Emergency Pack | => No |
2019-04-18 15:37 | alostale | Review Assigned To | => caristu |
2019-04-18 15:37 | alostale | Assigned To | platform => alostale |
2019-04-18 15:55 | alostale | Relationship added | related to 0040646 |
2019-04-18 15:57 | hgbot | Checkin | |
2019-04-18 15:57 | hgbot | Note Added: 0111210 | |
2019-04-18 15:57 | hgbot | Status | new => resolved |
2019-04-18 15:57 | hgbot | Resolution | open => fixed |
2019-04-18 15:57 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2986020672639f14f8c2cbd9d66e5d9577b38d10 [^] |
2019-04-26 10:27 | hgbot | Checkin | |
2019-04-26 10:27 | hgbot | Note Added: 0111353 | |
2019-04-26 15:09 | caristu | Note Added: 0111363 | |
2019-04-26 15:09 | caristu | Status | resolved => closed |
2019-04-26 15:09 | caristu | Fixed in Version | => 3.0PR19Q3 |
2019-05-21 15:16 | hudsonbot | Checkin | |
2019-05-21 15:16 | hudsonbot | Note Added: 0111990 | |
2019-05-21 15:16 | hudsonbot | Checkin | |
2019-05-21 15:16 | hudsonbot | Note Added: 0112002 | |
2019-09-05 08:27 | alostale | Relationship added | causes 0041747 |
Notes |
|
(0111210)
|
hgbot
|
2019-04-18 15:57
|
|
Repository: erp/devel/pi
Changeset: 2986020672639f14f8c2cbd9d66e5d9577b38d10
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Apr 18 15:42:05 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2986020672639f14f8c2cbd9d66e5d9577b38d10 [^]
fixed bug 40647: escape formulas when exporting csv
When exporting to csv:
- If value starts with equals, escape it so that it is not treated as a formula
- Use JDK's String.replace instead of OB's
---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
---
|
|
|
(0111353)
|
hgbot
|
2019-04-26 10:27
|
|
Repository: erp/devel/pi
Changeset: cbb150e17b8b69ad6f243c526ba64ef744ed8ba2
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Apr 26 10:23:56 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cbb150e17b8b69ad6f243c526ba64ef744ed8ba2 [^]
related to issue 40647: escape formulas when exporting csv
- Use tab instead of quoute to escape forumulas as latter is not visible
- Escape also other characters that prefix formulas (+,-,@)
---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
---
|
|
|
|
Code reviewed + tested OK |
|
|
|
|
|
|
|