branch develop updated (2b05ed7f -> 8b566524)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git from 2b05ed7f :bug: Applique la limite des 1990 paramètres de requête aux groupes également, cf. #10165 new 8b566524 Le try with ressource semble créer des problèmes 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 8b566524fa5aa0541f819070a7ef3c4976717dd5 Author: jcouteau <couteau@codelutin.com> Date: Fri Feb 5 07:15:18 2021 +0100 Le try with ressource semble créer des problèmes Summary of changes: .../com/franciaflex/faxtomail/web/action/admin/LdapAction.java | 8 ++++++-- 1 file changed, 6 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 in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit 8b566524fa5aa0541f819070a7ef3c4976717dd5 Author: jcouteau <couteau@codelutin.com> Date: Fri Feb 5 07:15:18 2021 +0100 Le try with ressource semble créer des problèmes --- .../com/franciaflex/faxtomail/web/action/admin/LdapAction.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/action/admin/LdapAction.java b/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/action/admin/LdapAction.java index 74338409..5de1eb67 100644 --- a/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/action/admin/LdapAction.java +++ b/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/action/admin/LdapAction.java @@ -93,10 +93,14 @@ public class LdapAction extends FaxToMailActionSupport implements Preparable { // cette methode doit ouvrir sa propre connexion sinon l'interceptor va la fermer // and cause du execAndWait - try (FaxToMailTopiaPersistenceContext persistenceContext = applicationContext.newPersistenceContext(); - FaxToMailServiceContext serviceContext = applicationContext.newServiceContext(persistenceContext)){ + FaxToMailTopiaPersistenceContext persistenceContext = applicationContext.newPersistenceContext(); + try { + persistenceContext = applicationContext.newPersistenceContext(); + FaxToMailServiceContext serviceContext = applicationContext.newServiceContext(persistenceContext); LdapService ldapService2 = serviceContext.getLdapService(); ldapService2.updateLdapData(); + } finally { + persistenceContext.close(); } return SUCCESS; -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm