Fix [2908208] - Bad Context of Cached Objects

https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2908208&group_id=176962
This commit is contained in:
Carlos Ruiz 2009-12-07 23:36:18 +00:00
parent b38c5215e8
commit 6297988963
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ public class ModelValidationEngine
super ();
// Load global validators
MTable table = MTable.get(new Properties(), X_AD_ModelValidator.Table_ID);
MTable table = MTable.get(Env.getCtx(), X_AD_ModelValidator.Table_ID);
Query query = table.createQuery("IsActive='Y'", null);
query.setOrderBy("SeqNo");
try {
@ -100,7 +100,7 @@ public class ModelValidationEngine
}
// Go through all Clients and start Validators
MClient[] clients = MClient.getAll(new Properties());
MClient[] clients = MClient.getAll(Env.getCtx());
for (int i = 0; i < clients.length; i++)
{
String classNames = clients[i].getModelValidationClasses();