[
https://issues.jboss.org/browse/SEAMFACES-44?page=com.atlassian.jira.plug...
]
Mark Struberg commented on SEAMFACES-44:
----------------------------------------
Hi Dan!
a) originally the Contextual<?> implementations have been Serializable in old (early
2009) Weld versions (as still is in OWB). Also the CreationalContext has been Serializable
back then.
b) In CODI we worked around the Contextual by using the passivatingId. The
CreationalContext MUST be Serializable and there is no workaround. This is not in the
CDI-1.0 spec, but otherwise ALL passivating scopes would be broken!
This is on the list for CDI-1.1. See CDI-24
c) The @ViewScoped annotation gets added via the ViewScopedExtension as @NormalScoped,
passivating Scope. Thus it must always get a proxy on the injection point! If not, then
this is probably a bug in Weld. This works fine in OWB.
View scope problems, feature needs review
-----------------------------------------
Key: SEAMFACES-44
URL:
https://issues.jboss.org/browse/SEAMFACES-44
Project: Seam Faces
Issue Type: Bug
Affects Versions: 3.0.0.Alpha3
Environment: glassfish v3.0.1
Reporter: Aleksandar Pejovic
Fix For: 3.1
Attachments: viewscoped-problem.zip
1.View scope should behave like normal scope, but client proxies aren't being used.
2.View scoped beans should be passivation capable, but the container isn't enforcing
that.
3.@ViewScoped annotation cannot be used on producer methods/fields.
More detailed description is available on a forum:
http://seamframework.org/Community/SeamfacesViewScopeProblems
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira