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

ClassCastException @ UIXEditableValue.shouldValidateEmptyFields

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.1.1-core
    • 2.1.3-core
    • None
    • None

    Description

      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); }

      "

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bommel Bernd Bohmann
            deshantm Todd Deshane
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment