directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRSERVER-663) Problem creating subContext with a Name Object.
Date Sun, 27 Aug 2006 02:57:23 GMT
     [ http://issues.apache.org/jira/browse/DIRSERVER-663?page=all ]

Alex Karasulu closed DIRSERVER-663.
-----------------------------------

    Fix Version/s: 1.1.0
                   1.0-RC4
       Resolution: Fixed

Fixes made in following commits:

437283 (1.0), 437284 (1.1) in shared

437285 (1.0), 437286 (1.1) in apacheds

> Problem creating subContext with a Name Object.
> -----------------------------------------------
>
>                 Key: DIRSERVER-663
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-663
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>            Reporter: John Conlon
>         Assigned To: Alex Karasulu
>             Fix For: 1.1.0, 1.0-RC4
>
>
> Cannot use a javax.naming.Name object to create a subContext. This failure is impacting
> org.apache.directory.server.protocol.shared.store.LdifFileLoader and 
> org.apache.directory.server.protocol.shared.AbstractBackingStoreTest classes.
> //The following test demonsttates the problem.
> public void testCreateContextWithCompositeName() throws Exception {
>   Attributes attrs = new BasicAttributes(true);
>   Attribute objclass = new BasicAttribute("objectClass");
>   objclass.add("top");
>   objclass.add("extensibleObject");
>   attrs.put(objclass);
>   Name relativeName = new CompositeName("cn=dns,ou=services");
>   
>   //ctx.createSubcontext(relativeName.toString(), attrs);//Passes!
>   ctx.createSubcontext(relativeName, attrs);//Fails!
> }

-- 
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