Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2377

surrogate characters in outputFormatted throws IllegalArgumentException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0-core
    • None
    • None

    Description

      <af:outputFormatted value="#

      {TestInput.surrogateVal}

      " id="of1"/>
      where
      TestInput.surrogateValue is a surrogateValue, like
      private String surrogateVal = "\ud840\udc00";

      public void setSurrogateVal(String surrogateVal)

      { this.surrogateVal = surrogateVal; }

      public String getSurrogateVal() {
      return surrogateVal;

      The page shows up blank, and you get an IllegalArgumentException from HTMLEscapes. outputText works fine. This is a regression caused by MYFACES-3690 Trinidad doesn't support surrogate characters

      Attachments

        Activity

          People

            jeanne.waldman@oracle.com Jeanne Waldman
            jeanne.waldman@oracle.com Jeanne Waldman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: