[ 
https://issues.apache.org/jira/browse/MYFACES-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262340#comment-13262340
 ] 

Paul Nicolucci commented on MYFACES-3531:
-----------------------------------------

I've attached the DefaultRestoreViewSupport in the unified diff format.
                
> Empty url mapping prefix causes infinite loop in 
> DefaultRestoreViewSupport.handlePrefixMapping
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3531
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3531
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.13
>         Environment: WebSphere Application Server 8 using MyFaces 2.0.13
>            Reporter: Paul Nicolucci
>         Attachments: DefaultRestoreViewSupport.txt
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> There is an infinite loop in DefaultRestoreViewSupport.handlePrefixMapping 
> when there is an empty prefix.  There was a similar issue reported in 
> MyFaces-2891 however the algorithm was not
> updated in DefaultrestoreViewSupport.
> I've made the same fix in DefaultRestoreViewSupport as was made in 
> DefaultViewHandlerSupport.handlePrefixMapping in MyFaces-2891.
> I'll attach a diff showing my changes.  If a sample application is needed I 
> can also provide that as it's a very simple application.

--
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

        

Reply via email to