hg merge release-2.1 (merge release2.1 into development)

This commit is contained in:
Carlos Ruiz 2015-10-11 12:43:21 -05:00
commit f5454af23a
1 changed files with 6 additions and 1 deletions

View File

@ -402,7 +402,11 @@ public class MLookupFactory
} else {
lang = language.getAD_Language();
}
StringBuilder key = new StringBuilder().append(Env.getAD_Client_ID(ctx)).append("|").append(lang).append("|").append(String.valueOf(AD_Reference_Value_ID));
StringBuilder key = new StringBuilder()
.append(Env.getAD_Client_ID(ctx)).append("|")
.append(Env.getAD_User_ID(ctx)).append("|")
.append(lang).append("|")
.append(String.valueOf(AD_Reference_Value_ID));
MLookupInfo retValue = (MLookupInfo)s_cacheRefTable.get(key.toString());
if (retValue != null)
{
@ -748,6 +752,7 @@ public class MLookupFactory
//try cache
StringBuilder cacheKey = new StringBuilder()
.append(Env.getAD_Client_ID(ctx)).append("|")
.append(Env.getAD_User_ID(ctx)).append("|")
.append(language.getAD_Language()).append("|")
.append(TableName).append(".")
.append(KeyColumn);