ICEfaces
  1. ICEfaces
  2. ICE-11031

ace:fileEntry with ace:clientValidateRequired JS error

    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 48681, Tomcat 8, Chrome 50 and IE 11
    • Assignee Priority:
      P2

      Description

      ace:fileEntry with ace:clientValidateRequired - JS console error seen in IE/Chrome browsers when performing an upload while there is a required message rendered. The files are uploaded to the server. Not an issue with Firefox
      Console error:
      Uncaught TypeError: Cannot read property 'getAttribute' of undefined.

      To reproduce:
      Use QA test app /fileEntryClientValidateRequired.jsf found at:
      http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/fileEntry

      1.) Load the application in IE or Chrome and open the browser console.
      2.) Press the Upload button (do not choose file first), the required message will be rendered.
      3.) Press the Choose File button and select a file to upload.
      4.) Press the Upload button. The file is successfully uploaded but the console error appears.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48821 Tue May 17 15:47:52 MDT 2016 mircea.toma ICE-11031 Avoid calling jsf.ajax.response when receiving the default content of the iframe.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/fileentry/fileEntry.js

          People

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

            Dates

            • Created:
              Updated:
              Resolved: