[spice-dev] [jira] Updated: (SPICE-47) [jndikit] Handling of subcontexts broken

jira-yCVjj/[email protected] Tue, 15 Feb 2005 06:34:45 -0500 (EST)
Newsgroups gmane.comp.java.spice.devel
Message-ID <[email protected]>
The following issue has been updated:

    Updater: Tim Anderson (mailto:[email protected])
       Date: Tue, 15 Feb 2005 6:34 AM
    Comment:
The fixes.diff file includes patches to:
. RemoteContext.java to unmarshal MarshalledObject instances when
  invoking listBindings()
. RMINamingProviderImpl.java to pass the correct basename to RemoteContext on lookup()

All tests including those in AbstractContextTestCase.diff2 now pass
    Changes:
             Attachment changed to fixes.diff
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/SPICE-47?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/SPICE-47

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: SPICE-47
    Summary: [jndikit] Handling of subcontexts broken
       Type: Bug

     Status: Unassigned
   Priority: Blocker

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: Spice

   Assignee: 
   Reporter: Tim Anderson

    Created: Mon, 14 Feb 2005 12:19 AM
    Updated: Tue, 15 Feb 2005 6:34 AM

Description:
Handling of subcontexts is broken for memory and remote contexts, but in slightly different ways:

For memory contexts:
.  a bind() followed by a lookup() results in a NameNotFoundException 
   (see testSubcontextBindAndLookup)

For remote contexts:
. binding to a subcontext followed by a list() from the
  root context returns no elements (see testSubcontextBindAndList1) 

. binding to a subcontext from the root context, followed by a list()
  of the subcontext returns the subcontext element 
  (see testSubcontextBindAndList2) 

. binding to a subcontext followed by a listBindings() returns the 
  subcontext element (see testSubcontextListBindings)




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


------------------------------
spice dev mailing list
[email protected] to post
dev-unsubscribe-kYqEwUbZbpqxIXFVlbCvtR2eb7JE58TQ@public.gmane.org to unsubscribe