Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2856

Unnecesary calls to checkResourceExists found on DefaultViewHandlerSupport and DefaultRestoreViewSupport

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • JSR-314
    • None

    Description

      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.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: