You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2007/11/11 02:27:50 UTC

[jira] Created: (DIRSERVER-1096) Modrdn operation with encoded newrdn creates wrong RDN attribute

Modrdn operation with encoded newrdn creates wrong RDN attribute
----------------------------------------------------------------

                 Key: DIRSERVER-1096
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1096
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: bigbang
            Reporter: Stefan Seelmann


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

2.) Perform a modrdn operation using ldapmodify, the new RDN is "cn=Ä\+":
------------------------------------------------------------------
dn: cn=test,dc=example,dc=com
changetype: moddn
newrdn:: Y249w4RcKw==
deleteoldrdn: 1
newsuperior: dc=example,dc=com
------------------------------------------------------------------

3.) A ldapsearch gives the following result:
------------------------------------------------------------------
dn: cn=\C3\84\+,dc=example,dc=com
sn: test
objectClass: person
objectClass: top
cn: \C3\84\+
------------------------------------------------------------------
The encoding of the RDN "cn=\C3\84\+" is correct.
However the attribute "cn: \C3\84\+" should not be encoded this way.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1096) Modrdn operation with encoded newrdn creates wrong RDN attribute

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541621 ] 

Stefan Seelmann commented on DIRSERVER-1096:
--------------------------------------------

Added test to demonstrate the bug: http://svn.apache.org/viewvc?rev=593869&view=rev

> Modrdn operation with encoded newrdn creates wrong RDN attribute
> ----------------------------------------------------------------
>
>                 Key: DIRSERVER-1096
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1096
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: bigbang
>            Reporter: Stefan Seelmann
>
> 1.) Having the following entry:
> ------------------------------------------------------------------
> dn: cn=test,dc=example,dc=com
> objectClass: person
> objectClass: top
> sn: test
> cn: test
> ------------------------------------------------------------------
> 2.) Perform a modrdn operation using ldapmodify, the new RDN is "cn=Ä\+":
> ------------------------------------------------------------------
> dn: cn=test,dc=example,dc=com
> changetype: moddn
> newrdn:: Y249w4RcKw==
> deleteoldrdn: 1
> newsuperior: dc=example,dc=com
> ------------------------------------------------------------------
> 3.) A ldapsearch gives the following result:
> ------------------------------------------------------------------
> dn: cn=\C3\84\+,dc=example,dc=com
> sn: test
> objectClass: person
> objectClass: top
> cn: \C3\84\+
> ------------------------------------------------------------------
> The encoding of the RDN "cn=\C3\84\+" is correct.
> However the attribute "cn: \C3\84\+" should not be encoded this way.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSERVER-1096) Modrdn operation with encoded newrdn creates wrong RDN attribute

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann closed DIRSERVER-1096.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: bigbang

This bug doesn't occur in the bigbang branch. Uncommented and corrected test: http://svn.apache.org/viewvc?rev=603766&view=rev


> Modrdn operation with encoded newrdn creates wrong RDN attribute
> ----------------------------------------------------------------
>
>                 Key: DIRSERVER-1096
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1096
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: bigbang
>            Reporter: Stefan Seelmann
>             Fix For: bigbang
>
>
> 1.) Having the following entry:
> ------------------------------------------------------------------
> dn: cn=test,dc=example,dc=com
> objectClass: person
> objectClass: top
> sn: test
> cn: test
> ------------------------------------------------------------------
> 2.) Perform a modrdn operation using ldapmodify, the new RDN is "cn=Ä\+":
> ------------------------------------------------------------------
> dn: cn=test,dc=example,dc=com
> changetype: moddn
> newrdn:: Y249w4RcKw==
> deleteoldrdn: 1
> newsuperior: dc=example,dc=com
> ------------------------------------------------------------------
> 3.) A ldapsearch gives the following result:
> ------------------------------------------------------------------
> dn: cn=\C3\84\+,dc=example,dc=com
> sn: test
> objectClass: person
> objectClass: top
> cn: \C3\84\+
> ------------------------------------------------------------------
> The encoding of the RDN "cn=\C3\84\+" is correct.
> However the attribute "cn: \C3\84\+" should not be encoded this way.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.