Skip to content
Snippets Groups Projects
Commit e3459560 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Fix session switching via Socket.IO

Disabled AOP code executed when joining sessions which caused an
exception because of scoping.
parent f1ab959a
No related merge requests found
...@@ -37,6 +37,7 @@ public class UserSessionAspect { ...@@ -37,6 +37,7 @@ public class UserSessionAspect {
* @param socketId * @param socketId
* @param session * @param session
*/ */
/* FIXME This is not working because of scoping problems
@AfterReturning( @AfterReturning(
pointcut="execution(public * de.thm.arsnova.services.SessionService.joinSession(..)) && args(keyword, socketId)", pointcut="execution(public * de.thm.arsnova.services.SessionService.joinSession(..)) && args(keyword, socketId)",
returning="session" returning="session"
...@@ -45,4 +46,5 @@ public class UserSessionAspect { ...@@ -45,4 +46,5 @@ public class UserSessionAspect {
userSessionService.setSession(session); userSessionService.setSession(session);
userSessionService.setSocketId(socketId); userSessionService.setSocketId(socketId);
} }
*/
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment