WICKET-5933 Avoid serialization of untouched page after ajax request untouchPage() should untouch()
spotted-by: adelbene (cherry picked from commit b2e5e3e0d3f49fa3b0588a190f611b254ebd9c09) Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/6fa8616f Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/6fa8616f Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/6fa8616f Branch: refs/heads/wicket-6.x Commit: 6fa8616f48843242094c9ea7653f6adb8fec2d82 Parents: 0ae9e1b Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org> Authored: Wed Jul 8 09:41:54 2015 +0300 Committer: Martin Tzvetanov Grigorov <mgrigo...@apache.org> Committed: Wed Jul 8 09:43:11 2015 +0300 ---------------------------------------------------------------------- .../src/main/java/org/apache/wicket/page/AbstractPageManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/6fa8616f/wicket-core/src/main/java/org/apache/wicket/page/AbstractPageManager.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/page/AbstractPageManager.java b/wicket-core/src/main/java/org/apache/wicket/page/AbstractPageManager.java index 297556e..4a459b9 100644 --- a/wicket-core/src/main/java/org/apache/wicket/page/AbstractPageManager.java +++ b/wicket-core/src/main/java/org/apache/wicket/page/AbstractPageManager.java @@ -132,6 +132,6 @@ public abstract class AbstractPageManager implements IPageManager public void untouchPage(IManageablePage page) { - getRequestAdapter().touch(page); + getRequestAdapter().untouch(page); } }