Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1137

getAttributes( nm, null ) returns empty Attributes if replication enabled?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.5.2
    • 2.0.0-M1
    • replication
    • None
    • DS 1.5.2-SNAPSHOT
      JDK 1.5.1_11
      Win 2003 Server

    Description

      A simple test with an embedded DS:

      public String testNullAttributeGet() throws NamingException {
      Name nm = new LdapName( "uid=admin,ou=system" );
      Attributes atts = new InitialDirContext( createContextEnv( ) ).getAttributes( nm, null );
      return atts.toString();
      }

      Without replication:

      Attribute id : 'sn', Values : ['administrator']
      Attribute id : 'objectClass', Values : ['person', 'organizationalPerson', 'inetOrgPerson', 'top']
      Attribute id : 'cn', Values : ['system administrator']
      Attribute id : 'creatorsName', Values : ['uid=admin,ou=system']
      Attribute id : 'createTimestamp', Values : ['20080218150419Z']
      Attribute id : 'userPassword', Values : [0x73 0x65 0x63 0x72 0x65 0x74 ]
      Attribute id : 'uid', Values : ['admin']
      Attribute id : 'displayName', Values : ['Directory Superuser']

      With replication:

      <empty>

      Attachments

        Activity

          People

            Unassigned Unassigned
            simont Simon Temple
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: