Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Fix Version/s: EE-3.0.0.BETA, 3.0.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces 3.0.0 build 14 (or trunk revision 27709)
Browsers: all (not tested in IE9 and IE7 yet)
Server: Tomcat6
-
ICEsoft Forum Reference:
Description
If submitting a form with more than one <ice:inputRichText/> components, then a JS error occurs. This works fine with just one editor on the page or switching back to IceFaces 2.x .
In Chrome 16 there are actually 2 errors, the error 1) occurs also with just one ice:inputRichText component in the form:
1) GET http://localhost:8080/testInputRichText/RES_NOT_FOUND 404 (Not Found)
2) Uncaught TypeError: Cannot read property 'parentNode' of undefined
In Firefox (all versions 3.6, 9, 10), the error is:
Error: iframe is undefined
Source File: http://localhost:8080/testInputRichText/javax.faces.resource/bridge.js.jsf;jsessionid=43E0092FE43466021D834DFACC2EC759?v=1631908987
Line: 2822
In IE8 there is JS error when submitting the form with 2 inputRichText components:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS; .NET4.0C)
Timestamp: Thu, 9 Feb 2012 21:06:18 UTC
Message: 'parentNode' is null or not an object
Line: 2822
Char: 21
Code: 0
URI: http://localhost:8080/testInputRichText/javax.faces.resource/bridge.js.jsf;jsessionid=336AC48F7A8E66984259C898DE480A83?v=1631908987
In Chrome 16 there are actually 2 errors, the error 1) occurs also with just one ice:inputRichText component in the form:
1) GET http://localhost:8080/testInputRichText/RES_NOT_FOUND 404 (Not Found)
2) Uncaught TypeError: Cannot read property 'parentNode' of undefined
In Firefox (all versions 3.6, 9, 10), the error is:
Error: iframe is undefined
Source File: http://localhost:8080/testInputRichText/javax.faces.resource/bridge.js.jsf;jsessionid=43E0092FE43466021D834DFACC2EC759?v=1631908987
Line: 2822
In IE8 there is JS error when submitting the form with 2 inputRichText components:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS; .NET4.0C)
Timestamp: Thu, 9 Feb 2012 21:06:18 UTC
Message: 'parentNode' is null or not an object
Line: 2822
Char: 21
Code: 0
URI: http://localhost:8080/testInputRichText/javax.faces.resource/bridge.js.jsf;jsessionid=336AC48F7A8E66984259C898DE480A83?v=1631908987
I could reproduce the issue with the libraries included into the attached test case. Once I replaced the libraries with the latest ones (build off ICEfaces3 rev. 27828) the issue went away.