You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2013/05/03 10:58:23 UTC

[04/27] git commit: WICKET-5103 use the same sessionId for #storePage() as used in SessionEntry#getPage()

WICKET-5103 use the same sessionId for #storePage() as used in
SessionEntry#getPage()

Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/612c5035
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/612c5035
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/612c5035

Branch: refs/heads/wicket-4774
Commit: 612c503551e94e3586d5dc7791bff4963e454340
Parents: 2fcb341
Author: svenmeier <sv...@apache.org>
Authored: Tue Apr 30 14:10:20 2013 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Thu May 2 15:56:45 2013 +0200

----------------------------------------------------------------------
 .../org/apache/wicket/page/PageStoreManager.java   |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/612c5035/wicket-core/src/main/java/org/apache/wicket/page/PageStoreManager.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/page/PageStoreManager.java b/wicket-core/src/main/java/org/apache/wicket/page/PageStoreManager.java
index 03266c6..cce5fed 100644
--- a/wicket-core/src/main/java/org/apache/wicket/page/PageStoreManager.java
+++ b/wicket-core/src/main/java/org/apache/wicket/page/PageStoreManager.java
@@ -380,7 +380,8 @@ public class PageStoreManager extends AbstractPageManager
 				entry.setSessionCache(touchedPages);
 				for (IManageablePage page : touchedPages)
 				{
-					pageStore.storePage(getSessionId(), page);
+					// WICKET-5103 use the same sessionId as used in SessionEntry#getPage()
+					pageStore.storePage(entry.sessionId, page);
 				}
 			}
 		}