Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2298

@FlowScoped beans in the jsf2-flows-portlet do not implement java.io.Serializable

    Details

      Description

      After the upgrade to Mojarra 2.2.1 in FACES-2067, the following error started appearing in the console log when the jsf2-flows-portlet was deployed:

      Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-000072 Managed bean declaring a passivating scope must be passivation capable.  Bean:  Managed Bean [class com.liferay.faces.demos.bean.BookingFlowModelBean] with qualifiers [@Any @Default @Named]
      	at org.jboss.weld.bean.ManagedBean.checkType(ManagedBean.java:406)
      

      This is because the @FlowScoped beans in the portlet do not implement java.io.Serializable.

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                liferay-faces-4.2.5-ga6