Directory ApacheDS
  1. Directory ApacheDS
  2. DIRSERVER-1137

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.5.2
    • Fix Version/s: 2.0.0-M1
    • Component/s: mitosis
    • Labels:
      None
    • Environment:
      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>

        Activity

        Hide
        Emmanuel Lecharny added a comment -

        This is something we should investigate for 1.5.3

        Show
        Emmanuel Lecharny added a comment - This is something we should investigate for 1.5.3
        Hide
        Alex Karasulu added a comment -

        Postponed to 1.5.5.

        Show
        Alex Karasulu added a comment - Postponed to 1.5.5.
        Hide
        Emmanuel Lecharny added a comment -

        Moved to 1.5.7, where Mitosis will be reviewed

        Show
        Emmanuel Lecharny added a comment - Moved to 1.5.7, where Mitosis will be reviewed
        Hide
        Emmanuel Lecharny added a comment -

        Moved to 2.0.0-RC1, we won't release a 1.5.7

        Show
        Emmanuel Lecharny added a comment - Moved to 2.0.0-RC1, we won't release a 1.5.7
        Hide
        Kiran Ayyagari added a comment -

        Mitosis is unsupported and has been removed from trunk.
        There is a new replication system in the trunk based on RFC4533. Closing this issue

        Show
        Kiran Ayyagari added a comment - Mitosis is unsupported and has been removed from trunk. There is a new replication system in the trunk based on RFC4533. Closing this issue

          People

          • Assignee:
            Unassigned
            Reporter:
            Simon Temple
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development