|
Home > Archive > Apache Directory Project > October 2005 > [jira] Resolved: (DIRLDAP-58) getPrefix and getSuffix have inversed semantic
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[jira] Resolved: (DIRLDAP-58) getPrefix and getSuffix have inversed semantic
|
|
| Trustin Lee (JIRA) 2005-09-30, 7:45 am |
| [ http://issues.apache.org/jira/brows...DAP-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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
| |
| Trustin Lee 2005-10-06, 7:45 am |
| I've tried the latest LdapName, but it still behaves different from Java 5
LdapName. You can run this example by yourself to test:
http://issues.apache.org/jira/browse/DIREVE-248
I saw you already checked in your fix, but I guess it still doesn't work
correctly. Please let me know if I understood something wrong.
Thanks,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
| |
| Trustin Lee 2005-10-07, 2:45 am |
| 2005/10/6, Alex Karasulu <aok123-Bdlq13kUjeyLZ21kGMrzwg@public.gmane.org>:
>
> Trustin Lee wrote:
>
>
> I must have botched this up ... if you can please feel free to reopen
> this one.
> Alex
>
>
I've realized DIRLDAP-37 (http://issues.apache.org/jira/browse/DIRLDAP-37)
is already open, which is the original one. I'm sorry for the confusion!
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
|
|
|
|
|