ICEfaces
  1. ICEfaces
  2. ICE-11035

ace:autoCompleteEntry with ace:clientValidators fail with myfaces libs

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.1.0.RC1
    • Fix Version/s: EE-4.1.0.GA, 4.2.BETA, 4.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces EE-4.1.0 r48727, Tomcat 8, IE 11, FF 43, Chrome 50.
      Myfaces libs only
    • Assignee Priority:
      P2

      Description

      ace:clientValidateLength, clientValidateDecimal, clientValidatePattern and clientValidateValueRange all fail when used with an ace:autoCompleteEntry and myfaces libs. Not an issue with mojarra.

      Failures include and may not be limited to:
      - Rendering an extra ace:autoCompleteEntry component at the bottom of the page every time a validation message is invoked.
       - Removing characters from the autoCompleteEntry after the validation message is removed.
       - Displaying multiple lists of the selectItems in the autoCompleteEntry, and not displaying the correct selections in the list.

      To reproduce use the autoCompleteEntry ace:clientValidator tests found at:
      http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/autoCompleteEntry.

      1.) Build the application with myfaces libs.
      2.) Use any of the clientValidator demos except for clientValidateRequired.
      3.) Type into an autoCompleteEntry to invoke a validation message, look at the bottom of the test page to see additional autoCompleteEntries rendered.
      4.) Type into the autoCompleteEntry to satisfy the requirement. When the requirement is met you will lose all input except for the first letter.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48917 Tue Jun 07 16:30:39 MDT 2016 mircea.toma ICE-11035 Change element cloning implementation to make sure no script element are clonedand thus evaluated by IE9.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/submit.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48888 Mon Jun 06 10:58:56 MDT 2016 mircea.toma ICE-11035 Removed old reset code in updateField function.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48882 Mon Jun 06 07:36:21 MDT 2016 mircea.toma ICE-11035 Expand try/catch block around input element's function calls.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48880 Thu Jun 02 14:20:01 MDT 2016 mircea.toma ICE-11035 Add try/catch block around the TextRange.select call.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48876 Wed Jun 01 18:58:22 MDT 2016 mircea.toma ICE-11035 Avoid invoking TextRange.select() since no range selection is defined.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48863 Mon May 30 15:25:51 MDT 2016 mircea.toma ICE-11035 Test for null items when iterating through the script nodes.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/submit.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48856 Thu May 26 12:20:23 MDT 2016 mircea.toma ICE-11035 Remove inline scripts contained by the cloned element to avoid their execution in IE when inserted into the document.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/submit.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48826 Wed May 18 17:23:39 MDT 2016 mircea.toma ICE-11035 Removed cloned element Myfaces specific code, run the code used for Mojarra instead.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/submit.js

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: