directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Temple (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1137) getAttributes( nm, null ) returns empty Attributes if replication enabled?
Date Tue, 19 Feb 2008 14:10:43 GMT
getAttributes( nm, null ) returns empty Attributes if replication enabled?
--------------------------------------------------------------------------

                 Key: DIRSERVER-1137
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1137
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: mitosis
    Affects Versions: 1.5.2
         Environment: DS 1.5.2-SNAPSHOT
JDK 1.5.1_11
Win 2003 Server

            Reporter: Simon Temple
             Fix For: 1.5.2


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>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message