Details
-
Type:
Bug
-
Status: Closed
-
Priority:
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.
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.
Modified fileEntry.js to avoid calling jsf.ajax.response function when receiving the default content of the iframe.