You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org> on 2013/04/12 05:49:18 UTC

[jira] [Created] (TRINIDAD-2377) surrogate characters in outputFormatted throws IllegalArgumentException

Jeanne Waldman created TRINIDAD-2377:
----------------------------------------

             Summary: surrogate characters in outputFormatted throws IllegalArgumentException
                 Key: TRINIDAD-2377
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2377
             Project: MyFaces Trinidad
          Issue Type: Bug
            Reporter: Jeanne Waldman
            Assignee: Jeanne Waldman


<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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira