branch develop-1.1.x updated (76b244f0 -> 4d4f5e52)
This is an automated email from the git hooks/post-receive script. New change to branch develop-1.1.x in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git from 76b244f0 [gitflow-maven-plugin]Update for next development version new 4d4f5e52 :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 4d4f5e52f25c303cc77dacf211c152240b60eb41 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-1.1.x in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit 4d4f5e52f25c303cc77dacf211c152240b60eb41 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 8e51e744..f17ef29f 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