-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 2024.1.5
-
Fix Version/s: 2024.1.6
-
Component/s: Roles & Permissions
-
Tags:
-
Team:NOS
Due to duplicated keys in the permission directory, it leads to 500 errors when they are computed:
java.lang.IllegalStateException: Duplicate key nreddy3@lululemon.com (attempted merging values [git:write, git:read] and [git:write, git:read]) at java.util.stream.Collectors.duplicateKeyException(Collectors.java:133) ~[?:?] at java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:180) ~[?:?] at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169) ~[?:?] at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1621) ~[?:?] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?] at com.nuxeo.studio.core.PermissionServiceImpl.getPermissionsByUser(PermissionServiceImpl.java:177) ~[nuxeo-studio-core-2024.1.5-0-g53f665d7.jar:?] at com.nuxeo.connect.rest.impl.ProjectResourceImpl.getProject(ProjectResourceImpl.java:79) ~[nuxeo-connect-rest-api-2024.1.5-0-g53f665d7.jar:?]