Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0033003 | Openbravo ERP | A. Platform | public | 2016-05-19 17:47 | 2016-08-11 18:40 |
|
Reporter | JONHM | |
Assigned To | NaroaIriarte | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR16Q4 | Fixed in Version | 3.0PR16Q4 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 41918 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0033003: Wrong titles exported to CSV when using a property field |
Description | When using a property field to define a column on a window, the names of the columns with this properties are exported incorrectly. |
Steps To Reproduce | 1) Create a window associated with C_OrderLine table and add two columns with the properties "salesOrder.partnerAddress.name" and "salesOrder.invoiceAddress.name", named "Ship Order Details" and "Sales Order Details" respectively, and name this window "Sales Order Details".
2) Add that window to the menu.
3) Go to "Sales Order Details" window
4) Export to CSV
Notice that some names related to property fields are exported incorrectly.
*** Window created in attached module |
Proposed Solution | The problem is caused because finally both property fields are referencing exactly the same physical column.
Because of the following line[1], the second property field is retrieving exactly the same name as the first one.
At that point perhaps a special check for the property fields should be performed.
[1] https://code.openbravo.com/erp/devel/pi/file/18ae3b2d8cb2/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java#l442 [^] |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | org.openbravo.changenames-1.0.0.obx (6,812) 2016-05-19 17:47 https://issues.openbravo.com/file_download.php?file_id=9426&type=bug
issue33003.export (2,656) 2016-06-29 18:11 https://issues.openbravo.com/file_download.php?file_id=9599&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2016-05-19 17:47 | JONHM | New Issue | |
2016-05-19 17:47 | JONHM | Assigned To | => platform |
2016-05-19 17:47 | JONHM | File Added: org.openbravo.changenames-1.0.0.obx | |
2016-05-19 17:47 | JONHM | OBNetwork customer | => Yes |
2016-05-19 17:47 | JONHM | Modules | => Core |
2016-05-19 17:47 | JONHM | Support ticket | => 41918 |
2016-05-19 17:47 | JONHM | Triggers an Emergency Pack | => No |
2016-05-24 18:36 | johnfandl | Note Added: 0086714 | |
2016-06-21 16:58 | caristu | Proposed Solution updated | |
2016-06-21 16:58 | caristu | Status | new => acknowledged |
2016-06-23 10:10 | NaroaIriarte | Assigned To | platform => NaroaIriarte |
2016-06-27 13:11 | NaroaIriarte | Status | acknowledged => scheduled |
2016-06-29 12:32 | NaroaIriarte | File Added: issue33003.export | |
2016-06-29 16:14 | caristu | Target Version | => 3.0PR16Q4 |
2016-06-29 18:11 | NaroaIriarte | File Deleted: issue33003.export | |
2016-06-29 18:11 | NaroaIriarte | File Added: issue33003.export | |
2016-07-04 12:36 | hgbot | Checkin | |
2016-07-04 12:36 | hgbot | Note Added: 0088172 | |
2016-07-04 12:36 | hgbot | Status | scheduled => resolved |
2016-07-04 12:36 | hgbot | Resolution | open => fixed |
2016-07-04 12:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f95207ec63c82ea1dcdb06a3ee8556d8a7d451c4 [^] |
2016-07-07 09:17 | NaroaIriarte | Review Assigned To | => alostale |
2016-07-08 08:53 | hgbot | Checkin | |
2016-07-08 08:53 | hgbot | Note Added: 0088315 | |
2016-07-08 08:54 | alostale | Note Added: 0088316 | |
2016-07-08 08:54 | alostale | Status | resolved => closed |
2016-07-08 08:54 | alostale | Fixed in Version | => 3.0PR16Q4 |
2016-08-11 18:40 | hudsonbot | Checkin | |
2016-08-11 18:40 | hudsonbot | Note Added: 0088985 | |
2016-08-11 18:40 | hudsonbot | Checkin | |
2016-08-11 18:40 | hudsonbot | Note Added: 0089000 | |