directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRSERVER-206) getPrefix and getSuffix have inversed semantic
Date Thu, 31 Aug 2006 08:00:25 GMT
     [ http://issues.apache.org/jira/browse/DIRSERVER-206?page=all ]

Emmanuel Lecharny closed DIRSERVER-206.
---------------------------------------


duplicated

> getPrefix and getSuffix have inversed semantic
> ----------------------------------------------
>
>                 Key: DIRSERVER-206
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-206
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: pre-1.0
>            Reporter: Emmanuel Lecharny
>         Assigned To: Emmanuel Lecharny
>            Priority: Minor
>             Fix For: pre-1.0
>
>
> The LdapName getprefix and getSuffix return a result which is inversed :
> Name name = parser.parse( "cn=HomeDir,cn=John,ou=Marketing,ou=East" ) ;
> Name prefix = name.getPrefix( 0 ); 
> // returns "cn=HomeDir,cn=John,ou=Marketing,ou=East" instead of "".
> The Names are indexed from end to start, though the element 0 is the last NameComponent.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message