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

CompositeComponentELResolver.CompositeComponentAttributesMapWrapper breaks compatibility with tmp el-resolvers

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.8, 2.1.2
    • None
    • None

    Description

      ELContext should not be cached; if the first ELContext to access cc.attrs happens to be a third-party component such as ExtVal, this ELContext will continue to be used for this component, wrongly.

      Attachments

        1. MYFACES-3274.patch.txt
          3 kB
          Matthew Jason Benson

        Activity

          use FacesContext.getCurrentInstance().getELContext() instead of caching ELContext

          mbenson Matthew Jason Benson added a comment - use FacesContext.getCurrentInstance().getELContext() instead of caching ELContext
          lu4242 Leonardo Uribe added a comment -

          Thanks to Matt Benson for provide this patch

          lu4242 Leonardo Uribe added a comment - Thanks to Matt Benson for provide this patch

          Thanks, Leo!

          mbenson Matthew Jason Benson added a comment - Thanks, Leo!

          People

            lu4242 Leonardo Uribe
            mbenson Matthew Jason Benson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: