Revision: 3478
Author: [email protected]
Date: Wed Apr 28 15:05:30 2010
Log: Removing the call to try and recreate the system workspace. This will only occur if something goes horribly wrong on the server and should never happen in practice. If it does the user can try to reconnect to the server by reselecting the
server from the window.
http://code.google.com/p/power-architect/source/detail?r=3478

Modified:
/trunk/src/main/java/ca/sqlpower/architect/swingui/ArchitectSwingSessionContextImpl.java

=======================================
--- /trunk/src/main/java/ca/sqlpower/architect/swingui/ArchitectSwingSessionContextImpl.java Fri Apr 23 14:24:33 2010 +++ /trunk/src/main/java/ca/sqlpower/architect/swingui/ArchitectSwingSessionContextImpl.java Wed Apr 28 15:05:30 2010
@@ -323,7 +323,9 @@
public boolean updateException(NetworkConflictResolver resolver) {
                         newSecuritySession.close();
ArchitectClientSideSession.getSecuritySessions().remove(serverInfo.getServerAddress());
-                        createSecuritySession(serverInfo);
+ //If you try to create a new security session here because creating the first + //one failed the same error message can continue to repeat. + //TODO May want to warn the user with a nicer dialog.
                         return true;
                     }

Reply via email to