IDEMPIERE-2756 Background threads losing context when user log out / found issue when cached objects have lost their context but are still returned from cache (failing case second run of any ModelRunProcess web service)
This commit is contained in:
parent
b1c16a2441
commit
393655c8b3
|
@ -425,6 +425,8 @@ public abstract class PO
|
|||
*/
|
||||
public Properties getCtx()
|
||||
{
|
||||
if (p_ctx.size() == 0 && Env.getCtx().size() > 0)
|
||||
p_ctx = Env.getCtx();
|
||||
return p_ctx;
|
||||
} // getCtx
|
||||
|
||||
|
|
Loading…
Reference in New Issue