« Return to Thread: [jira] Created: (DIRSERVER-964) Binding does not return DirContext Object's when creating by doing ctx.createSubcontext("cn=test");

Re: [jira] Created: (DIRSERVER-964) Binding does not return DirContext Object's when creating by doing ctx.createSubcontext("cn=test");

by Bugzilla from ole.ersoy@gmail.com :: Rate this Message:

Reply to Author | View in Thread

This part:
If I manually attempt to lookup the DirContext that the same DirContext instance, I get a real directory context.
Is supposed to be:
If I manually attempt to lookup the DirContext that the binding.getObject represents, I get a DirContext instance.




Ole Ersoy (JIRA) wrote:

> Binding does not return DirContext Object's when creating by doing ctx.createSubcontext("cn=test");
> ---------------------------------------------------------------------------------------------------
>
>                  Key: DIRSERVER-964
>                  URL: https://issues.apache.org/jira/browse/DIRSERVER-964
>              Project: Directory ApacheDS
>           Issue Type: Bug
>             Reporter: Ole Ersoy
>              Fix For: pre-2.0
>
>
> See test.  I expect assertNull(binding.getObject()); to fail, but it passes.  If I manually attempt to lookup the DirContext that the same DirContext instance, I get a real directory context.
>
>  

 « Return to Thread: [jira] Created: (DIRSERVER-964) Binding does not return DirContext Object's when creating by doing ctx.createSubcontext("cn=test");