Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034647
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2016-11-28 12:382016-12-16 18:39
ReporterJONHMView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in Version3.0PR17Q1
StatusclosedFix in branchFixed in SCM revision6966b7f99476
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034647: Header not exported to CSV when coming from a HQL table

DescriptionHeader not exported to CSV when coming from a HQL table. It could happen because the "Entity" Object not exists.
Steps To Reproduce1) 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
TagsNo tags attached.
Attached Filesdiff file icon issue34647.diff [^] (3,609 bytes) 2016-12-05 17:22 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0092271)
hgbot (developer)
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 (developer)
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.

(0092306)
alostale (manager)
2016-12-13 11:12

code reviewed

tested for hql tables and standard ones
(0092697)
hudsonbot (developer)
2016-12-16 18:39

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/dc8bf00badd0 [^]
Maturity status: Test

- 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 Modules => Core
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 View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker