[
https://issues.apache.org/jira/browse/OWB-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14580862#comment-14580862
]
Mark Struberg commented on OWB-1082:
------------------------------------
I checked both OWB and MyFaces and it seems this has been behaving that way
since a very long time. Indeed it is broken and I gonna fix it on both sides
even.
The BeanManager we provide via the ServletContext and JNDI both have to be
Serializable. And I also need to improve the lookup code in MyFaces as it is
rather error prone.
> WebContext BeanManager not longer serializable
> ----------------------------------------------
>
> Key: OWB-1082
> URL: https://issues.apache.org/jira/browse/OWB-1082
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Web
> Affects Versions: 1.6.0
> Reporter: Moritz Bechler
> Assignee: Mark Struberg
> Fix For: 1.6.1
>
>
> It looks like there has been a change between 1.5 and 1.6 that causes the
> BeanManager passed via servlet context attribute to be no longer
> serializable. This breaks session serialization for myfaces' view scope
> handling
> (org.apache.myfaces.cdi.view.ViewScopeCDIMap/org.apache.myfaces.cdi.view.ViewScopeBeanHolder/org.apache.myfaces.cdi.view.ViewScopeContextualStorage)
> as they assume it is.
> Was this change unintentional, should I take this to myfaces or both?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)