Directory ApacheDS
  1. Directory ApacheDS
  2. DIRSERVER-697

valid ModifyDN operations fail with resultcode 32

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-RC4
    • Fix Version/s: 1.0-RC4, 1.5.0
    • Component/s: None
    • Labels:
      None
    • Environment:
          * ApacheDS 1.0 RC4 SNAPSHOT
          * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
          * Windows XP Professional SP2

      Description

      The current 1.0 branch contains an error which causes valid modifyDN operations to fail with result code 32 (NO_SUCH_OBJECT). Here is an example:
      I use the server.xml unchanged and add an entry (tori.ldif) like this:

      dn: cn=Myra Ellen Amos,dc=example,dc=com
      objectclass: top
      objectclass: person
      sn: Amos
      cn: Myra Ellen Amos

      via a
      $ ldapmodify -D "uid=admin,ou=system" -w secret -a -f tori.ldif
      adding new entry cn=Myra Ellen Amos,dc=example,dc=com

      afterwards I try to change it, via modifyTori.ldif:

      dn: cn=Myra Ellen Amos,dc=example,dc=com
      changetype: modrdn
      newrdn: cn=Tori Amos
      deleteoldrdn: 1

      applied:

      $ ldapmodify -D "uid=admin,ou=system" -w secret -f modifyTori.ldif
      modifying RDN of entry cn=Myra Ellen Amos,dc=example,dc=com
      ldap_rename: No such object
      ldap_rename: additional info: failed to modify DN of entry cn=Myra Ellen Amos,dc=example,dc=com
      $

      Appropriate test cases are in the org.apache.directory.server.ModifyRdnTest of the server-unit project, some of them currently (snapshot from August 4) fails (which is good).

        Activity

        Alex Karasulu made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 1.1.0 [ 12310790 ]
        Fix Version/s 1.0-RC4 [ 12311053 ]
        Hide
        Alex Karasulu added a comment -

        Fixed on commit revision 429503 for 1.0 branch and 429504 on 1.1 trunks.

        Show
        Alex Karasulu added a comment - Fixed on commit revision 429503 for 1.0 branch and 429504 on 1.1 trunks.
        Alex Karasulu made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Alex Karasulu made changes -
        Assignee Alex Karasulu [ akarasulu ]
        Stefan Zoerner made changes -
        Assignee Stefan Zoerner [ szoerner ]
        Stefan Zoerner made changes -
        Field Original Value New Value
        Assignee Stefan Zoerner [ szoerner ]
        Stefan Zoerner created issue -

          People

          • Assignee:
            Alex Karasulu
            Reporter:
            Stefan Zoerner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development