Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-1831

Group names beginning with '#' cannot be added directly to users

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Low
    • None
    • 2.0.3
    • None
    • CentOS 5.2, Postgres 8.4.1, standalone, JDK 1.6.0_17

    Description

      I'm still doing a little investigation but:

      Create a group in an internal directory called '#test-group'. Confirm that from the group direct members page, users can be added to the group. Now go to a different user, and attempt to add the #test-group to that user ... In catalina.out:

      2010-02-16 22:39:21,383 http-8495-9 ERROR [console.action.principal.UpdateGroups] groupName cannot be null or empty
      java.lang.IllegalArgumentException: groupName cannot be null or empty
      	at org.apache.commons.lang.Validate.notEmpty(Validate.java:363)
      	at com.atlassian.crowd.integration.directory.internal.InternalDirectory.isUserDirectGroupMember(InternalDirectory.java:673)
      	at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.isUserDirectGroupMember(DirectoryManagerGeneric.java:535)
      	at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.addUserToGroup(DirectoryManagerGeneric.java:559)
      

      As I find out add'l details, I'll add them.

      Attachments

        Activity

          People

            Unassigned Unassigned
            eb62b961c58b John Knight
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: