Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029741Openbravo ERPA. Platformpublic2015-04-29 19:202022-02-01 08:09
caristu 
Triage Platform Base 
normalminoralways
acknowledgedopen 
5
 
 
Core
No
0029741: Summarize fields are not displayed in widgets when the query contains subqueries or uses functions
Summarize fields are not displayed in widgets when the query contains subqueries or uses functions.

The following error is displayed in the log:

303201 [http-8082-1] ERROR org.openbravo.client.querylist.QueryListDataSource - Exception while fetching the summary columns of the widget: .... It is not supported using as summaries columns that are defined using a subquery, or that are defined using a summary function.

But this is appearing even if the summary field is not related to the column that indeed uses the subquery.
1) Install the following module: https://code.openbravo.com/erp/mods/com.openbravo.support.test/ [^]

2) Add the "Test Widget: totals and subqueries" widget to the workspace

3) Notice that the summary field is not appearing and the error message is displayed in the log
It seems that the updateHQLWithSummaryFields of the QueryListDataSource is not parsing correctly the hql query in this cases
No tags attached.
caused by defect 00291743.0PR15Q2 closed AugustoMauch Summarize fields are not displayed in widgets 
Issue History
2015-04-29 19:20caristuNew Issue
2015-04-29 19:20caristuAssigned To => platform
2015-04-29 19:20caristuModules => Core
2015-04-29 19:20caristuTriggers an Emergency Pack => No
2015-04-29 19:30caristuIssue Monitored: networkb
2015-04-29 19:30caristuSummary29174: Summarize fields are not displayed in widgets when the query contains subqueries or uses functions => Summarize fields are not displayed in widgets when the query contains subqueries or uses functions
2015-04-29 20:18hgbotCheckin
2015-04-29 20:18hgbotNote Added: 0076893
2015-04-29 20:19hgbotCheckin
2015-04-29 20:19hgbotNote Added: 0076895
2015-04-29 20:19caristuRelationship addedcaused by 0029174
2015-04-29 20:20caristuNote Deleted: 0076893
2015-04-29 20:20caristuNote Deleted: 0076895
2015-11-10 14:58alostaleStatusnew => acknowledged
2015-11-11 11:37alostalePriorityhigh => normal
2016-04-05 17:21alostaleTypedefect => design defect
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.