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>
Is this a bug in the replication inteceptor? Shall I open a JIRA entry?
Regards
Simon Temple
DS 1.5.2-SNAPSHOTJDK 1.5.1_11Win 2003 Server