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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012853
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2010-03-31 03:212010-04-19 21:11
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version2.50MP15
StatusclosedFix in branchFixed in SCM revision9b38a35f182b
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012853: OBQuery count not working with a query with aliases

DescriptionWhen a query has an alias then the OBquery.count operation is not working correctly. Hibernate throws an error while parsing the query.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0012903 closedmtaal Error in OBQuery when using with hql clause having order by but not where part 

-  Notes
(0025825)
hgbot (developer)
2010-03-31 03:27

Repository: erp/devel/pi
Changeset: 9b38a35f182ba334533fa15f720026c636236d5e
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Mar 31 03:37:37 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9b38a35f182ba334533fa15f720026c636236d5e [^]

Fixes issue 12853: OBQuery count not working with a query with aliases

---
M src-test/org/openbravo/test/dal/IssuesTest.java
M src/org/openbravo/dal/service/OBQuery.java
---
(0025954)
shuehner (administrator)
2010-04-07 17:33

Tested in pi/oracle, rev: 6ba00074e974. count with alias is now working fine -> Closing. However a new issue 12903 was found while reviewing this one.
(0026400)
hudsonbot (developer)
2010-04-19 21:11

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/9b38a35f182b [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]

- Issue History
Date Modified Username Field Change
2010-03-31 03:21 mtaal New Issue
2010-03-31 03:21 mtaal Assigned To => mtaal
2010-03-31 03:27 hgbot Checkin
2010-03-31 03:27 hgbot Note Added: 0025825
2010-03-31 03:27 hgbot Status new => resolved
2010-03-31 03:27 hgbot Resolution open => fixed
2010-03-31 03:27 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9b38a35f182ba334533fa15f720026c636236d5e [^]
2010-04-07 17:32 shuehner Relationship added related to 0012903
2010-04-07 17:33 shuehner Note Added: 0025954
2010-04-07 17:33 shuehner Status resolved => closed
2010-04-07 17:33 shuehner Fixed in Version => 2.50MP15
2010-04-08 00:00 anonymous sf_bug_id 0 => 2983501
2010-04-19 21:11 hudsonbot Checkin
2010-04-19 21:11 hudsonbot Note Added: 0026400


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker