You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2011/09/20 22:28:10 UTC

[jira] [Created] (MYFACES-3312) Compare viewId after PreRenderView does not detect navigation to the same page

Compare viewId after PreRenderView does not detect navigation to the same page
------------------------------------------------------------------------------

                 Key: MYFACES-3312
                 URL: https://issues.apache.org/jira/browse/MYFACES-3312
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
    Affects Versions: 2.1.3, 2.0.9
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


If a navigation occur inside PreRenderViewEvent to the same page, a new viewRoot component is created, but the algorithm is not detecting that case. The effect is a empty page is rendered, but it should not.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MYFACES-3312) Compare viewId after PreRenderView does not detect navigation to the same page

Posted by "Leonardo Uribe (Resolved) (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-3312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3312.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.4
                   2.0.10

Added check like on UIViewRoot.broadcastEvents(FacesContext, PhaseId) that limits to 15 the maximun number of cycles of buildView-PreRenderViewEvent.
                
> Compare viewId after PreRenderView does not detect navigation to the same page
> ------------------------------------------------------------------------------
>
>                 Key: MYFACES-3312
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3312
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.9, 2.1.3
>            Reporter: Gerald Müllan
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.10, 2.1.4
>
>
> If a navigation occur inside PreRenderViewEvent to the same page, a new viewRoot component is created, but the algorithm is not detecting that case. The effect is a empty page is rendered, but it should not.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira