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

404 Resource Errors after MyFaces-4270

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.3
    • 2.3-next-M1, 2.3.4
    • None
    • None

    Description

      Hello,

      I have an application that works with JSF 2.3.2, but doesn't work with JSF 2.3.3.  The RichFaces resources do not load.

      I looked at the commits of what changed, and I've narrowed it down to this one: https://github.com/apache/myfaces/commit/cb75b5a6486c61c6bd3e3befc62cce58576f6be0

      This issue, from my understanding, is caused by incorrect mappings.  

      After investigating, I noticed that getFacesServletRegistration returns a ServletRegistration that doesn't contain mappings to the resources. I believe this is because of the isFacesServlet check on line 53 of FacesServletMappingUtils.java (of the commit mentioned).   Prior to the commit, there was code to handle non-FacesServlet Mappings ( line 194-207 on  FacesServletMappingUtils.java ).

      I would appreciate any help into this.

      Thank you.

      Attachments

        1. sample.war
          13.66 MB
          Volodymyr Siedlecki
        2. source.zip
          6 kB
          Volodymyr Siedlecki

        Activity

          People

            tandraschko Thomas Andraschko
            volosied Volodymyr Siedlecki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: