directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Updated: (DIRSERVER-808) Modify the semantic of LdapDN.toString() method
Date Tue, 20 Mar 2007 22:20:32 GMT


Emmanuel Lecharny updated DIRSERVER-808:

    Fix Version/s:     (was: 1.5.0)

I have started to modify the semantic of this class, but much should be done. May be a complete
review of the API and the internal of LdapDN should be done. Alex suggested that may be it
could be a good idea to have two classes : LdapDN and NormalizedLdapDN, to express the different
natures of a DN. It could also be good to reviex the code, which is very complicated...

> Modify the semantic of LdapDN.toString() method
> -----------------------------------------------
>                 Key: DIRSERVER-808
>                 URL:
>             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.

View raw message