Thanks for clarification.

Do we have unit tests for the "ViewContext" passivation?
Passivation was multiple times broken in OWB - therefore i would like to
unit tests in the future if none are available.


2014-03-13 18:16 GMT+01:00 Leonardo Uribe <[email protected]>:

> Hi
>
> According to some reports I read some time ago in stackoverflow,
> Mojarra does not enforce that beans implementing @ViewScoped /
> @FlowScoped needs to be Serializable in order to be passivated, but
> MyFaces enforce that. As Gerhard said before, the code in MyFaces is
> correct.
>
> regards,
>
> Leonardo Uribe
>
> 2014-03-13 11:50 GMT-05:00 Gerhard Petracek <[email protected]>:
> > hi thomas,
> >
> > the annotation is given by the spec., however, the registration in
> > ViewScopeContextExtension is fine: event.addScope(ViewScoped.class, true,
> > true);
> >
> > regards,
> > gerhard
> >
> > http://www.irian.at
> >
> > Your JSF/JavaEE powerhouse -
> > JavaEE Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
> >
> > 2014-03-13 17:06 GMT+01:00 Thomas Andraschko <
> [email protected]>:
> >
> >> Hi,
> >>
> >> i found the following issue in mojarras issue tracker:
> >> https://java.net/jira/browse/JAVASERVERFACES-3191
> >>
> >> Do we have a unit test for testing passivation?
> >> I just looked at our sources but we are missing the passivating
> attribute,
> >> too.
> >>
> >> Regards,
> >> Thomas
> >
> >
>

Reply via email to