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

        Liana Munroe created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Fix Version/s EE-4.1.0.GA [ 12171 ]
        Assignee Priority P2 [ 10011 ]
        Mircea Toma made changes -
        Comment [ I cannot reproduce the error in Chrome nor IE9. ]
        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.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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
        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.
        Ken Fyten made changes -
        Fix Version/s 4.2.BETA [ 13091 ]
        Fix Version/s 4.2 [ 12870 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: