You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Rich Feit (JIRA)" <be...@incubator.apache.org> on 2005/02/17 03:59:49 UTC
[jira] Closed: (BEEHIVE-194) ServletBeanContext is partially Serializable
[ http://issues.apache.org/jira/browse/BEEHIVE-194?page=history ]
Rich Feit closed BEEHIVE-194:
-----------------------------
Great, thanks Kyle!
> ServletBeanContext is partially Serializable
> --------------------------------------------
>
> Key: BEEHIVE-194
> URL: http://issues.apache.org/jira/browse/BEEHIVE-194
> Project: Beehive
> Type: Bug
> Components: Controls
> Reporter: Rich Feit
> Assignee: Rich Feit
> Fix For: V1Beta
>
> ServletBeanContext, which is stored in the session, keeps a stack of ServletBeanContext$RequestContext objects. ServletBeanContext is Serializable (through superclass BeanContextSupport), but RequestContext is not. This means that when the session is serialized, there can be errors because ServletBeanContext is not fully Serializable. I think the stack of RequestContexts (ServletBeanContext._reqStack) should be transient. It may be true that the stack of RequestContext objects is only nonempty in the middle of a request, but we can't guarantee that the session won't be serialized in the middle of a request (this is common with code that tests the size of the session).
> Kyle, is this one yours?
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira