branch develop updated (dc287dc3 -> 2b05ed7f)
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 dc287dc3 :arrow_up: fixes #11132 : Permettre l'utilisation d'un Tomcat à jour new 2b05ed7f :bug: Applique la limite des 1990 paramètres de requête aux groupes également, cf. #10165 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 2b05ed7f37c2b0afbc594467e13fdc0045553432 Author: jcouteau <couteau@codelutin.com> Date: Mon Jan 18 17:56:12 2021 +0100 :bug: Applique la limite des 1990 paramètres de requête aux groupes également, cf. #10165 Summary of changes: .../com/franciaflex/faxtomail/services/service/LdapServiceImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 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 2b05ed7f37c2b0afbc594467e13fdc0045553432 Author: jcouteau <couteau@codelutin.com> Date: Mon Jan 18 17:56:12 2021 +0100 :bug: Applique la limite des 1990 paramètres de requête aux groupes également, cf. #10165 --- .../com/franciaflex/faxtomail/services/service/LdapServiceImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/LdapServiceImpl.java b/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/LdapServiceImpl.java index 9c33b5d3..074f9b97 100644 --- a/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/LdapServiceImpl.java +++ b/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/LdapServiceImpl.java @@ -135,7 +135,11 @@ public class LdapServiceImpl extends FaxToMailServiceSupport implements LdapServ userToHide.setHidden(true); faxtomailUserDao.update(userToHide); } - Collection<FaxToMailUserGroup> userGroupsToHide = faxtomailUserGroupDao.forNotIn(groupCache.values()); + List<List<FaxToMailUserGroup>> partitionedGroupCache = partition(new ArrayList<>(groupCache.values()), 1990); + Collection<FaxToMailUserGroup> userGroupsToHide = new ArrayList<>(); + for (List<FaxToMailUserGroup> userGroupCacheValues:partitionedGroupCache){ + userGroupsToHide.addAll(faxtomailUserGroupDao.forNotIn(userGroupCacheValues)); + } for (FaxToMailUserGroup userGroupToHide : userGroupsToHide) { userGroupToHide.setHidden(true); faxtomailUserGroupDao.update(userGroupToHide); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm