Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0017857 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2011-06-30 19:22 | 2012-04-26 11:23 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP11 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | a3138b899536 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
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 | 0017857: CSV export of Query List widget uses wrong labels for columns headers | |||||||
Description | The CSV export of the QueryListWidget is using internal column/property names when exporting the widget instead of the names shown i.e. in the querylistwidget grid itself.. Example internal names used in the csv file organizationName documentNo businessPartnerName User-visible normal names: Document Number Business Partner Date Also the order of the seems doesn't correntpond to the order shown in the query list grid. Probably (not tested) no translation of the column headers is done | |||||||
Steps To Reproduce | see description. Export data of i.e. 'Invoices to collect' query list widget as a csv-file and compare first line of this csv-file with grid shown (on screen) for the widget. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0047482) alostale (viewer) 2012-04-11 12:46 |
Note that translations should also be taken into account to translate labels. |
(0047532) hgbot (developer) 2012-04-12 16:09 |
Repository: erp/devel/pi Changeset: a3138b899536313ec220b47b39549ed5943d3bba Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Thu Apr 12 16:07:37 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/a3138b899536313ec220b47b39549ed5943d3bba [^] Fixed issue 17857: Exporting QueryListWidget, headers are labels instead of ids The CSV export of the QueryListWidget was using internal column/property names when exporting the widget. Now is showing the names showed in the querylistwidget grid itself. The order of the columns in the exported file is ok. It's exporting the whole grid (as same as maximized window). --- M modules/org.openbravo.client.querylist/src/org/openbravo/client/querylist/QueryListDataSource.java M modules/org.openbravo.client.querylist/src/org/openbravo/client/querylist/QueryListUtils.java --- |
(0047533) migueldejuana (viewer) 2012-04-12 16:15 |
Widget exports the whole grid as same as maximized window. If we want to change this, exporting only the columns showed in the grid of the widget, we have to change QueryListDataSource.java: Put: if (queryAliases[i].equals(column.getDisplayExpression()) && (viewMode.equals("maximized") || viewMode.equals("widget") && column.getIncludeIn().equals("W")) || (!isExport && queryAliases[i].equals(column.getLinkExpression()))) Instead of: if (queryAliases[i].equals(column.getDisplayExpression()) || (!isExport && queryAliases[i].equals(column.getLinkExpression()))) |
(0047642) hudsonbot (viewer) 2012-04-17 05:31 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cedf57621434 [^] Maturity status: Test |
(0048001) alostale (viewer) 2012-04-26 11:23 |
Code reviewed and verified on pi@d02dd5df46fe Tested with base module language as well as with translation. |
![]() |
|||
Date Modified | Username | Field | Change |
2011-06-30 19:22 | shuehner | New Issue | |
2011-06-30 19:22 | shuehner | Assigned To | => alostale |
2011-06-30 19:22 | shuehner | Modules | => Core |
2011-06-30 19:22 | shuehner | OBNetwork customer | => No |
2011-06-30 19:22 | shuehner | Relationship added | related to 0016747 |
2011-08-05 13:02 | alostale | Status | new => scheduled |
2011-08-05 13:02 | alostale | fix_in_branch | => pi |
2012-04-11 12:46 | alostale | Note Added: 0047482 | |
2012-04-11 12:46 | alostale | Assigned To | alostale => migueldejuana |
2012-04-12 16:09 | hgbot | Checkin | |
2012-04-12 16:09 | hgbot | Note Added: 0047532 | |
2012-04-12 16:09 | hgbot | Status | scheduled => resolved |
2012-04-12 16:09 | hgbot | Resolution | open => fixed |
2012-04-12 16:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a3138b899536313ec220b47b39549ed5943d3bba [^] |
2012-04-12 16:15 | migueldejuana | Note Added: 0047533 | |
2012-04-17 05:31 | hudsonbot | Checkin | |
2012-04-17 05:31 | hudsonbot | Note Added: 0047642 | |
2012-04-26 11:23 | alostale | Note Added: 0048001 | |
2012-04-26 11:23 | alostale | Status | resolved => closed |
2012-04-26 11:23 | alostale | Fixed in Version | => 3.0MP11 |
Copyright © 2000 - 2009 MantisBT Group |