Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2141

Error when using UserDrivenGroupeLDAPGroupDirectory with a missing group id

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.7.4, 2.8.1, 4.0M13
    • 2.8.1, 4.0M9
    • None
    • None

      The application does not display the group when there is an error
      It should display at least others groups

      Caused by: java.lang.IllegalArgumentException: Missing group id attribute : "cn"
              at org.ametys.plugins.core.impl.group.directory.ldap.UserDrivenLdapGroupDirectory._getGroupDescription(UserDrivenLdapGroupDirectory.java:237)
              at org.ametys.plugins.core.impl.group.directory.ldap.UserDrivenLdapGroupDirectory.getGroups(UserDrivenLdapGroupDirectory.java:134)
              at org.ametys.plugins.core.impl.group.directory.ldap.AbstractLdapGroupDirectory.groups2JSON(AbstractLdapGroupDirectory.java:150)
              at org.ametys.plugins.core.group.GroupSearchAction._searchGroupsByContext(GroupSearchAction.java:127)
              at org.ametys.plugins.core.group.GroupSearchAction.act(GroupSearchAction.java:70)
              at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125)
              at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
              at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
              at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
              at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
              at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
              at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
              at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
              at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:194)
              at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)
              at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:111)
              ... 74 more
      

            Unassigned Unassigned
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: