Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0034647 | Openbravo ERP | A. Platform | public | 2016-11-28 12:38 | 2016-12-16 18:39 |
|
Reporter | JONHM | |
Assigned To | caristu | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR17Q1 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 44642 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0034647: Header not exported to CSV when coming from a HQL table |
Description | Header not exported to CSV when coming from a HQL table. It could happen because the "Entity" Object not exists. |
Steps To Reproduce | 1) Open [Product] window and select "Cerveza Ale 0,5L" product
2) Change to "Costing" subtab and select a record which have an "Average Cost transaction", then open the "Average Cost Transactions" subtab
3) Select the new record on the second level subtab and click button "Export to CSV" in the toolbar.
--> The file is exported without the header names |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | issue34647.diff (3,609) 2016-12-05 17:22 https://issues.openbravo.com/file_download.php?file_id=10160&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2016-11-28 12:38 | JONHM | New Issue | |
2016-11-28 12:38 | JONHM | Assigned To | => platform |
2016-11-28 12:38 | JONHM | OBNetwork customer | => Yes |
2016-11-28 12:38 | JONHM | Modules | => Core |
2016-11-28 12:38 | JONHM | Support ticket | => 44642 |
2016-11-28 12:38 | JONHM | Triggers an Emergency Pack | => No |
2016-12-01 12:17 | alostale | Status | new => acknowledged |
2016-12-01 14:03 | alostale | Priority | normal => high |
2016-12-05 17:21 | caristu | Assigned To | platform => caristu |
2016-12-05 17:22 | caristu | File Added: issue34647.diff | |
2016-12-12 09:39 | hgbot | Checkin | |
2016-12-12 09:39 | hgbot | Note Added: 0092271 | |
2016-12-12 09:39 | hgbot | Status | acknowledged => resolved |
2016-12-12 09:39 | hgbot | Resolution | open => fixed |
2016-12-12 09:39 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6966b7f994766544c70658814074b01b292a1a34 [^] |
2016-12-12 09:41 | caristu | Note Added: 0092272 | |
2016-12-12 09:41 | caristu | Review Assigned To | => alostale |
2016-12-12 09:42 | caristu | Note Edited: 0092272 | bug_revision_view_page.php?bugnote_id=0092272#r13972 |
2016-12-13 11:12 | alostale | Note Added: 0092306 | |
2016-12-13 11:12 | alostale | Status | resolved => closed |
2016-12-13 11:12 | alostale | Fixed in Version | => 3.0PR17Q1 |
2016-12-16 18:39 | hudsonbot | Checkin | |
2016-12-16 18:39 | hudsonbot | Note Added: 0092697 | |
Notes |
|
(0092271)
|
hgbot
|
2016-12-12 09:39
|
|
Repository: erp/devel/pi
Changeset: 6966b7f994766544c70658814074b01b292a1a34
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Dec 12 09:37:28 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6966b7f994766544c70658814074b01b292a1a34 [^]
fixes issue 34647: Header not exported to CSV when coming from a HQL table
---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
---
|
|
|
(0092272)
|
caristu
|
2016-12-12 09:41
(edited on: 2016-12-12 09:42) |
|
The entity of the HQL based table was not being found using getDataSource(request).getEntity()
To solve the problem in these cases, the entity of the HQL table is retrieved from the tab, using the information (tab id) received from the request.
|
|
|
|
code reviewed
tested for hql tables and standard ones |
|
|
|
|