JSF portlets not working with portlet.session.replicate.enabled=true on 7.4JSF portlets not working with portlet.session.replicate.enabled=true on 7.4https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1214773272024-03-29T02:31:08Z2024-03-29T02:31:08ZJSF portlets not working with portlet.session.replicate.enabled=true on 7.4Adam Wallhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1214773262022-07-26T09:37:34Z2022-07-25T20:08:21Z<p>After upgrading my team's portlets to work on Liferay 7.4, I've
noticed that our JSF portlets are not functioning correctly when the
property "portlet.session.replicate.enabled" is set to true.
When it is enabled, our forms are not passing any values in either
direction, from view to bean or vice-versa.</p>
<p>I've been able to recreate this from the "Liferay Portal 7.4
(Portlet 2.0) + JSF 2.2 + JSF Standard" maven archtype after
adding a form to the view and changing the bean to SessionScoped and
implements Serializable. I tested this with the latest version of
Liferay 7.4.3.34-ga34 so I don't know if there's any additional
configuration that needs to be changed. In our production and test
environments, we have other configurations based on the tomcat session
replication guide, but the one property mentioned earlier is the one
that is causing the portlets to not function. </p>
<p>I saw that with LPS-135570, the way session replication works was
changed because of the new shielded container. When I tested our
portlets on the version before this was implemented (7.4.2-ga3), I was
getting data back from the beans with the property on (but session
replication was not worki