[
https://issues.apache.org/jira/browse/MYFACES-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe updated MYFACES-3531:
------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.8
2.0.14
Assignee: Leonardo Uribe
Status: Resolved (was: Patch Available)
Thanks to Paul Nicolucci for provide this patch
> 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
> Assignee: Leonardo Uribe
> Fix For: 2.0.14, 2.1.8
>
> 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