Issue Details (XML | Word | Printable)

Key: DIRSERVER-206
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Minor Minor
Assignee: Emmanuel Lecharny
Reporter: Emmanuel Lecharny
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

getPrefix and getSuffix have inversed semantic

Created: 30/Sep/05 06:37 PM   Updated: 31/Aug/06 07:59 AM
Return to search
Component/s: ldap
Affects Version/s: pre-1.0
Fix Version/s: pre-1.0

Time Tracking:
Not Specified

Resolution Date: 30/Sep/05 07:19 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Trustin Lee added a comment - 30/Sep/05 07:19 PM
DIRLDAP-37 and DIREVE-248 already explains this issue.

Trustin Lee made changes - 30/Sep/05 07:19 PM
Field Original Value New Value
Resolution Duplicate [ 3 ]
Status Open [ 1 ] Resolved [ 5 ]
Alex Karasulu made changes - 07/Feb/06 02:41 PM
Fix Version/s pre-1.0 [ 12310782 ]
Project Directory LDAP [ 10514 ] ApacheDS [ 12310260 ]
Component/s ldap [ 12310715 ]
Affects Version/s pre-1.0 [ 12310782 ]
Key DIRLDAP-58 DIRSERVER-206
Emmanuel Lecharny added a comment - 31/Aug/06 07:59 AM
duplicated

Emmanuel Lecharny made changes - 31/Aug/06 07:59 AM
Status Resolved [ 5 ] Closed [ 6 ]