You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2007/04/21 12:07:15 UTC

[jira] Commented: (DIRSERVER-808) Modify the semantic of LdapDN.toString() method

    [ https://issues.apache.org/jira/browse/DIRSERVER-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490530 ] 

Emmanuel Lecharny commented on DIRSERVER-808:
---------------------------------------------

the toString() method has to be mapped to getUpName() for debug purposes. 

getUpName() and getNormName() methods have been created

> Modify the semantic of LdapDN.toString() method
> -----------------------------------------------
>
>                 Key: DIRSERVER-808
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-808
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: ldap
>            Reporter: Emmanuel Lecharny
>         Assigned To: Emmanuel Lecharny
>             Fix For: 1.5.1
>
>
> The semantic of LdapDN.toString() method is really bad : it returns a normalized form of the DN. By no means this should have been the case, so I suggest to switch it back to what it should have been from the beginning :
> toString() returns the user provided DN
> getUpName() return the user provided DN ( for completness)
> getNormName() returns the normalized form of the DN
> Of course, many test cases will be impacted, but this is not something that can't be fixed in less that a few hours.

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