You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Todd Deshane (JIRA)" <de...@myfaces.apache.org> on 2014/02/11 20:44:19 UTC

[jira] [Created] (TRINIDAD-2450) ClassCastException @ UIXEditableValue.shouldValidateEmptyFields

Todd Deshane created TRINIDAD-2450:
--------------------------------------

             Summary: ClassCastException @ UIXEditableValue.shouldValidateEmptyFields
                 Key: TRINIDAD-2450
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2450
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 2.1.1-core
            Reporter: Todd Deshane
            Priority: Blocker


We are doing some testing in hopes of updating to trinidad 2.1 because of a IE 11 incompatibility. (https://issues.apache.org/jira/i#browse/TRINIDAD-2418)

I pulled the latest available snapshots (trinidad-*-2.1.1-20140102.100014-11.jar), but we are getting the following stack trace:


java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
	at org.apache.myfaces.trinidad.component.UIXEditableValue.shouldValidateEmptyFields(UIXEditableValue.java:643)

The code is: 

"  // If there is no value under that key, use the same key and look in the
      // application map from the ExternalContext.
      if (param == null)
      {
        param = (String) ec.getApplicationMap().get(UIInput.VALIDATE_EMPTY_FIELDS_PARAM_NAME);
      }"




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)