directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Re: [jira] Resolved: (DIRLDAP-58) getPrefix and getSuffix have inversed semantic
Date Fri, 30 Sep 2005 10:46:12 GMT
Hmmm... My bad. I should have looked at JIRA first !

Well, this is a serious issue, I guess. One more in the - long - list !

On Fri, 2005-09-30 at 12:19 +0200, Trustin Lee (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/DIRLDAP-58?page=all ]
>      
> Trustin Lee resolved DIRLDAP-58:
> --------------------------------
> 
>     Resolution: Duplicate
> 
> DIRLDAP-37 and DIREVE-248 already explains this issue.
> 
> > getPrefix and getSuffix have inversed semantic
> > ----------------------------------------------
> >
> >          Key: DIRLDAP-58
> >          URL: http://issues.apache.org/jira/browse/DIRLDAP-58
> >      Project: Directory LDAP
> >         Type: Bug
> >     Reporter: Emmanuel Lecharny
> >     Assignee: Emmanuel Lecharny
> >     Priority: Minor
> 
> >
> > 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.
> 



Mime
View raw message