Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0032605 | Openbravo ERP | A. Platform | public | 2016-04-05 17:09 | 2016-06-17 19:36 |
|
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.0PR16Q3 | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0032605: widgets summary field not displayed if HQL has group by clause |
Description | HQL Query Widgets that have a group by clause in their HQL and a summary column, do not display the summarized value for that column. |
Steps To Reproduce | 1. Apply attached diff that restores and defines properly summary function for Quantity on Hand column of Stock By Warehouse widget
2. Rebuild
3. Add stock by warehouse widget
-> Note summary function is not displayed |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0029174 | 3.0PR15Q2 | closed | AugustoMauch | Summarize fields are not displayed in widgets |
|
Attached Files | Stock-By-Warehouse-Sum-Qty.diff (1,521) 2016-04-05 17:09 https://issues.openbravo.com/file_download.php?file_id=9239&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2016-04-05 17:09 | alostale | New Issue | |
2016-04-05 17:09 | alostale | Assigned To | => platform |
2016-04-05 17:09 | alostale | Modules | => Core |
2016-04-05 17:09 | alostale | Triggers an Emergency Pack | => No |
2016-04-05 17:09 | alostale | Assigned To | platform => alostale |
2016-04-05 17:09 | alostale | Review Assigned To | => caristu |
2016-04-05 17:09 | alostale | File Added: Stock-By-Warehouse-Sum-Qty.diff | |
2016-04-05 17:15 | hgbot | Checkin | |
2016-04-05 17:15 | hgbot | Note Added: 0085449 | |
2016-04-05 17:15 | hgbot | Checkin | |
2016-04-05 17:15 | hgbot | Note Added: 0085450 | |
2016-04-05 17:15 | hgbot | Status | new => resolved |
2016-04-05 17:15 | hgbot | Resolution | open => fixed |
2016-04-05 17:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/24f92e6306589db59f5b54041db7f34706e8c94a [^] |
2016-04-05 17:15 | alostale | Relationship added | related to 0029174 |
2016-04-08 10:41 | hgbot | Checkin | |
2016-04-08 10:41 | hgbot | Note Added: 0085512 | |
2016-04-08 10:53 | caristu | Note Added: 0085513 | |
2016-04-08 10:53 | caristu | Note Deleted: 0085513 | |
2016-04-08 10:54 | caristu | Note Added: 0085514 | |
2016-04-08 10:54 | caristu | Status | resolved => closed |
2016-04-08 10:54 | caristu | Fixed in Version | => 3.0PR16Q3 |
2016-06-17 19:36 | hudsonbot | Checkin | |
2016-06-17 19:36 | hudsonbot | Note Added: 0087424 | |
2016-06-17 19:36 | hudsonbot | Checkin | |
2016-06-17 19:36 | hudsonbot | Note Added: 0087425 | |
2016-06-17 19:36 | hudsonbot | Checkin | |
2016-06-17 19:36 | hudsonbot | Note Added: 0087434 | |
Notes |
|
(0085449)
|
hgbot
|
2016-04-05 17:15
|
|
Repository: erp/devel/pi
Changeset: 5f1c8bb5f1caeb53238c8137d0983bd947d8036f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Apr 05 17:12:02 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5f1c8bb5f1caeb53238c8137d0983bd947d8036f [^]
related to bug 32605: widget summary not displayed if HQL has group by clause
Added log in case exception is thrown when executing summary query.
---
M modules/org.openbravo.client.querylist/src/org/openbravo/client/querylist/QueryListDataSource.java
---
|
|
|
(0085450)
|
hgbot
|
2016-04-05 17:15
|
|
Repository: erp/devel/pi
Changeset: 24f92e6306589db59f5b54041db7f34706e8c94a
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Apr 05 17:13:38 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/24f92e6306589db59f5b54041db7f34706e8c94a [^]
fixed bug 32605: widgets summary field not displayed if HQL has group by clause
When calculating in backend summary function, group by clause must be removed
from the query as all values should be aggregated without grouping.
---
M modules/org.openbravo.client.querylist/src/org/openbravo/client/querylist/QueryListDataSource.java
---
|
|
|
(0085512)
|
hgbot
|
2016-04-08 10:41
|
|
Repository: erp/devel/pi
Changeset: 075d80ce3160b70c71d83e099f190f92b3f23e39
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Apr 08 10:40:36 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/075d80ce3160b70c71d83e099f190f92b3f23e39 [^]
related to bug 32605: removed some duplication
hql where clause was converted to lower case several times
---
M modules/org.openbravo.client.querylist/src/org/openbravo/client/querylist/QueryListDataSource.java
---
|
|
|
|
Code review + testing OK: using widget with the summary function defined properly, the summary field is displayed. |
|
|
|
|
|
|
|
|
|
|