branch develop-5.x updated (1ef80d4 -> afde26e)
This is an automated email from the git hooks/post-receive script. New change to branch develop-5.x in repository observe. See https://gitlab.nuiton.org/codelutin/observe.git from 1ef80d4 Une exception apparait si on ouvre l'assistant de changement de connexion et qu'on annule (Fixes #8966) (la vrai correction...) new afde26e Bascule distant-> local lorsque la connexion serveur a été perdue (Fixes #8957) The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit afde26e6f4a5bfc5271861c4f18ad41dfce93da8 Author: Tony CHEMIT <dev@tchemit.fr> Date: Thu Jan 19 10:35:54 2017 +0100 Bascule distant-> local lorsque la connexion serveur a été perdue (Fixes #8957) Summary of changes: .../application/swing/ui/storage/StorageUIHandler.java | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop-5.x in repository observe. See https://gitlab.nuiton.org/codelutin/observe.git commit afde26e6f4a5bfc5271861c4f18ad41dfce93da8 Author: Tony CHEMIT <dev@tchemit.fr> Date: Thu Jan 19 10:35:54 2017 +0100 Bascule distant-> local lorsque la connexion serveur a été perdue (Fixes #8957) --- .../application/swing/ui/storage/StorageUIHandler.java | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/storage/StorageUIHandler.java b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/storage/StorageUIHandler.java index e497070..4c2f7e4 100644 --- a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/storage/StorageUIHandler.java +++ b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/storage/StorageUIHandler.java @@ -448,8 +448,13 @@ public class StorageUIHandler { if (log.isDebugEnabled()) { log.debug(">>> close main storage " + currentDataSource); } + // on doit fermer le storage en cours d'utilisation - currentDataSource.close(); + try { + currentDataSource.close(); + } catch (Exception e) { + UIHelper.handlingError(e); + } } // suppression du storage local @@ -462,7 +467,11 @@ public class StorageUIHandler { log.debug(">>> close local storage " + localDataSource); } // on doit fermer le storage local ouvert - localDataSource.close(); + try { + localDataSource.close(); + } catch (Exception e) { + UIHelper.handlingError(e); + } } localDataSource = null; -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm