Issue Details (XML | Word | Printable)

Key: DIRSERVER-314
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Alex Karasulu
Reporter: Trustin Lee
Votes: 0
Watchers: 0
Operations

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

Reversed operations: LdapName.getPrefix() and LdapName.getSuffix()

Created: 10/Sep/05 11:52 AM   Updated: 10/Feb/06 12:34 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 14/Sep/05 08:43 PM


 Description  « Hide
This code shows what we did wrong:

        org.apache.ldap.common.name.LdapName name = new org.apache.ldap.common.name.LdapName( "ou=a, ou=b, ou=c" );
        System.out.println( name.getPrefix( 1 ) );
        System.out.println( name.getPrefix( 2 ) );
        System.out.println( name.getSuffix( 1 ) );
        System.out.println( name.getSuffix( 2 ) );
        System.out.println( name.get( 0 ) );
        System.out.println( name.get( 1 ) );
        System.out.println( name.get( 2 ) );
        
        javax.naming.ldap.LdapName newName = new javax.naming.ldap.LdapName( "ou=a, ou=b, ou=c" );
        System.out.println( newName.getPrefix( 1 ) );
        System.out.println( newName.getPrefix( 2 ) );
        System.out.println( newName.getSuffix( 1 ) );
        System.out.println( newName.getSuffix( 2 ) );
        System.out.println( newName.get( 0 ) );
        System.out.println( newName.get( 1 ) );
        System.out.println( newName.get( 2 ) );


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alex Karasulu made changes - 13/Sep/05 05:52 AM
Field Original Value New Value
Status Open [ 1 ] In Progress [ 3 ]
Alex Karasulu made changes - 13/Sep/05 05:53 AM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]
Trustin Lee made changes - 14/Sep/05 08:42 PM
Status Resolved [ 5 ] Reopened [ 4 ]
Resolution Fixed [ 1 ]
Trustin Lee made changes - 14/Sep/05 08:43 PM
Status Reopened [ 4 ] Closed [ 6 ]
Resolution Duplicate [ 3 ]
Alex Karasulu made changes - 10/Feb/06 12:34 PM
Key DIREVE-248 DIRSERVER-314
Fix Version/s 0.9.3 [ 12310193 ]
Project Directory Server [ 10516 ] Directory ApacheDS [ 12310260 ]
Affects Version/s 0.9.2 [ 12310192 ]