[ 
https://issues.apache.org/jira/browse/MYFACES-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe resolved MYFACES-2856.
-------------------------------------

    Fix Version/s: 2.0.2-SNAPSHOT
       Resolution: Fixed

> Unnecesary calls to checkResourceExists found on DefaultViewHandlerSupport 
> and DefaultRestoreViewSupport
> --------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-2856
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2856
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>    Affects Versions: 2.0.1
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.2-SNAPSHOT
>
>
> I checked the algorithm and I found in some situations, checkResourceExists 
> could be called more times than necessary. handleSuffixMapping check urls 
> against checkResourceExists, so there is no need to call it again from 
> calculateAndCheckViewId, and in the default case if a wrong resource request 
> is sent, .xhtml case is checked twice.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to