You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org> on 2017/04/07 12:36:42 UTC
[jira] [Resolved] (TRINIDAD-2450) ClassCastException @
UIXEditableValue.shouldValidateEmptyFields
[ https://issues.apache.org/jira/browse/TRINIDAD-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bernd Bohmann resolved TRINIDAD-2450.
-------------------------------------
Resolution: Fixed
fixed race condition
> 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
> Assignee: Bernd Bohmann
> Priority: Blocker
> Fix For: 2.1.3-core
>
>
> 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.3.15#6346)