[jboss-jira] [JBoss JIRA] (WFLY-5917) numberOfLogicalViews not working

Gabriel Vieira (JIRA) issues at jboss.org
Tue Dec 29 14:50:00 EST 2015


     [ https://issues.jboss.org/browse/WFLY-5917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabriel Vieira updated WFLY-5917:
---------------------------------
    Steps to Reproduce: 
1-Create a WEB project
2-Create a @ViewScoped and log @PostConstruct and @PreDestroy.
3-Set com.sun.faces.numberOfLogicalViews to 3 (or any other number).
4-Create a page that call the View created (Step 2).
5-You will notice that it will store view ultil max 25 (LRU map).

  was:
1-Create a WEB project
2-Create a @ViewScoped and log @PostConstruct and @PreDestroy to log it.
3-Set com.sun.faces.numberOfLogicalViews to 3 (or any other number).
4-Create a page that call the View created (Step 2).
5-You will notice that it will store view ultil max 25 (LRU map).



> numberOfLogicalViews not working
> --------------------------------
>
>                 Key: WFLY-5917
>                 URL: https://issues.jboss.org/browse/WFLY-5917
>             Project: WildFly
>          Issue Type: Bug
>          Components: CDI / Weld, JSF
>    Affects Versions: 9.0.2.Final
>            Reporter: Gabriel Vieira
>            Assignee: Stuart Douglas
>              Labels: cdi, jsf22, wildfly
>
> Theres a bug in wildfly 9 Final
> Even if a set on web.xml
> {code:java}
> <context-param>
>         <param-name>com.sun.faces.numberOfLogicalViews</param-name>
>         <param-value>3</param-value>
> </context-param>
> {code}
> it keeps storing 25 views.
> I tried @Named (CDI) and @ManagedBean and the problem persisted.
> My workaround was use @ViewScoped from Omnifaces



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list