Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1162

Moddn with mulit-valued RDN mangles the entry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.2
    • 1.5.3, 1.5.4
    • None
    • None

    Description

      Having the following entry:
      -----------------------------------------------------
      dn: cn=test,dc=example,dc=com
      objectClass: person
      objectClass: top
      cn: test
      sn: test
      -----------------------------------------------------

      Now I perform a moddn operation:
      -----------------------------------------------------
      dn: cn=test,dc=example,dc=com
      changetype: moddn
      newrdn: cn=test+sn=test
      deleteoldrdn: 1
      newsuperior: dc=example,dc=com
      -----------------------------------------------------

      The resulting entry is:
      -----------------------------------------------------
      dn: cn=test+sn=test,dc=example,dc=com
      objectClass: person
      objectClass: top
      sn: test
      -----------------------------------------------------

      --> The cn attribute is missing!!!

      I will add a test later.

      Attachments

        1. ModifyRdnTest.diff
          2 kB
          Stefan Seelmann

        Issue Links

          Activity

            People

              seelmann Stefan Seelmann
              seelmann Stefan Seelmann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: