From 8c698bf84ff5b3e527fd09cf9681bdc12a7d6910 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Wed, 21 Oct 2009 18:00:51 +0000 Subject: [PATCH] https://sourceforge.net/tracker/?func=detail&aid=2832968&group_id=176962&atid=955896 ( User context lost ) - session context not clean up properly --- .../src/org/adempiere/webui/session/SessionContextListener.java | 1 + 1 file changed, 1 insertion(+) diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/session/SessionContextListener.java b/zkwebui/WEB-INF/src/org/adempiere/webui/session/SessionContextListener.java index 70f7f8a778..19d585b89d 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/session/SessionContextListener.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/session/SessionContextListener.java @@ -187,6 +187,7 @@ public class SessionContextListener implements ExecutionInit, if (ctx != null && serverContext != null && ctx.getProperty(SERVLET_SESSION_ID).equals(serverContext.getProperty(SERVLET_SESSION_ID))) { + ctx.clear(); ctx.putAll(serverContext); }