Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007864Openbravo ERPA. Platformpublic2009-02-27 11:172009-03-18 11:03
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
pi 
pi2.50 
Core
No
0007864: OBCriteria class is not always initialized when a user calls createCriteria or another subCriteria creating methods
There are some methods on the OBCriteria class which are not safe in that a user can create a subcriteria without the main OBCriteria class being initialized.

The createCriteria methods should return an encapsulated Criteria class which takes care of initializing the local Hibernate Criteria class before doing any additional work.
No tags attached.
Issue History
2009-02-27 11:17mtaalNew Issue
2009-02-27 11:17mtaalAssigned To => mtaal
2009-02-27 11:17mtaalRegression testing => No
2009-03-03 07:15hgbotCheckin
2009-03-03 07:15hgbotNote Added: 0014256
2009-03-03 07:15hgbotStatusnew => resolved
2009-03-03 07:15hgbotResolutionopen => fixed
2009-03-03 07:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/763b9ba6d969924fb916c2ea240e33c798a77fb2 [^]
2009-03-06 12:35psarobeStatusresolved => closed
2009-03-18 11:03anonymoussf_bug_id0 => 2691449

Notes
(0014256)
hgbot   
2009-03-03 07:15   
Repository: erp/devel/pi
Changeset: 763b9ba6d969924fb916c2ea240e33c798a77fb2
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 03 07:14:23 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/763b9ba6d969924fb916c2ea240e33c798a77fb2 [^]

Fixes issue 7864, OBCriteria class is not always initialized when a user calls createCriteria or another subCriteria creating methods

---
M src/org/openbravo/dal/service/OBCriteria.java
M src/org/openbravo/dal/service/OBDal.java
---