ViewScoped beans resolve differently on EAP 7.2 than previous versions in JSF applications

Solution Unverified - Updated -

Issue

Applications making use of ViewScoped beans can exhibit different behavior under JBoss EAP 7.2 than on earlier releases. If a bean with the same name exists in the Request, Session or Application scopes, the ViewScoped bean will be ignored in favor of the other scope's bean.

Environment

JBoss EAP 7.2 and above

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content