You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <ji...@apache.org> on 2008/06/19 04:01:45 UTC

[jira] Updated: (DIRSERVER-1137) getAttributes( nm, null ) returns empty Attributes if replication enabled?

     [ https://issues.apache.org/jira/browse/DIRSERVER-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Karasulu updated DIRSERVER-1137:
-------------------------------------

    Fix Version/s:     (was: 1.5.3)
                   1.5.5

Postponed to 1.5.5.

> 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.5
>
>
> 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.