This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push:
new 75059a9 [OPENMEETINGS-2044] page store is fixed
75059a9 is described below
commit 75059a9b8d129d2dc3a2dab5f091649b5865cdd8
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Tue Apr 23 11:25:57 2019 +0700
[OPENMEETINGS-2044] page store is fixed
---
.../src/main/java/org/apache/openmeetings/web/app/Application.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
index 2ff5374..535e6a0 100644
---
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
+++
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
@@ -107,6 +107,7 @@ import
org.apache.wicket.core.request.handler.ListenerRequestHandler;
import org.apache.wicket.core.request.mapper.MountedMapper;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.pageStore.IPageStore;
+import org.apache.wicket.pageStore.SerializingPageStore;
import
org.apache.wicket.protocol.ws.WebSocketAwareCsrfPreventionRequestCycleListener;
import org.apache.wicket.protocol.ws.api.WebSocketResponse;
import org.apache.wicket.request.IRequestHandler;
@@ -225,7 +226,9 @@ public class Application extends
AuthenticatedWebApplication implements IApplica
setPageManagerProvider(new DefaultPageManagerProvider(this) {
@Override
protected IPageStore newAsynchronousStore(IPageStore
pageStore) {
- return new HazelcastDataStore(getName(),
hazelcast);
+ return new SerializingPageStore(
+ new
HazelcastDataStore(getName(), hazelcast)
+ ,
getFrameworkSettings().getSerializer());
}
});
//Add custom resource loader at the beginning, so it will be
checked first in the