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

        Hide
        Mircea Toma added a comment -

        Modified fileEntry.js to avoid calling jsf.ajax.response function when receiving the default content of the iframe.

        Show
        Mircea Toma added a comment - Modified fileEntry.js to avoid calling jsf.ajax.response function when receiving the default content of the iframe.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk r48822. Tomcat 8, IE 11, 10, 9, 8, FF 43, Chrome 50.

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r48822. Tomcat 8, IE 11, 10, 9, 8, FF 43, Chrome 50.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: