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

Invalid ID is created when facet contains invalid (id) chars

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.14, 2.3-next-M5, 3.0.0, 2.3.8
    • 4.0.0-RC1, 3.0.1, 2.3.9, 2.2.15, 2.3-next-M6
    • None
    • None

    Description

      e.g.
      f:facet name="

      {Exporter}

      " seems valid from spec perspective

      but in MyFaces this name is reused in the UIPanel facet instance and therefore we throw a expcetion later, if it contains

      { or }

      Mojarra doesnt set a ID to the facet, therefore it doenst occur

      currently . is replaced with _
      i will enhance this to replace {}
      in general a regex would be better here but also slower

      see: https://github.com/primefaces/primefaces/issues/7060

      Attachments

        Activity

          People

            tandraschko Thomas Andraschko
            tandraschko Thomas Andraschko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: