Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7, 1.7.1
-
Fix Version/s: 1.7.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:IE7
Description
Line: 50
Char:945
Error:Unspecified Error
Code:0
URL:http://locathost:8084/Bug4942Example/block/resource/LTQ5MTYyMDg1Mw==/editor/fckeditor.html?InstanceName=_id10%3ArichTextTwo&Toolbar=Default
This error could be caused by using the rendered attribute to show/hide the popup.
The other error I noticed was when the visible attribute was used to show/hide the popup. The error code is 800a025e. This is a know issue with the FCKEditor api (http://www.fckeditor.net/forums/viewtopic.php?f=6&t=8700&p=22724&hilit=800a025e#p22724).
-
Hide
- ICe-3304.war
- 6.08 MB
- Adnan Durrani
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/lib/xercesImpl.jar 1.15 MB
- WEB-INF/lib/icefaces-comps.jar 1.76 MB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/lib/commons-beanutils.jar 184 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/jstl.jar 17 kB
- main.jspx 2 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/web.xml 2 kB
- WEB-INF/lib/xml-apis.jar 190 kB
- WEB-INF/lib/icefaces.jar 1.02 MB
- WEB-INF/classes/bean/TestBean.java 0.6 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/jsf-api.jar 356 kB
- WEB-INF/lib/jsf-impl.jar 778 kB
- WEB-INF/lib/commons-fileupload.jar 87 kB
- WEB-INF/faces-config.xml 0.5 kB
- WEB-INF/classes/bean/TestBean.class 0.9 kB
-
- main.jspx
- 2 kB
- Arran Mccullough
-
- ie7-rendered-error.JPG
- 26 kB
-
- screenshot-1.jpg
- 124 kB
-
- screenshot-2.jpg
- 107 kB
-
- screenshot-3.jpg
- 192 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
I have created an app using the attached JSP page, and tested it with IE 6 and 7 and didn't see any problem. Arran can you please retest it with the trunk head?
Tested with the trunk and I'm still seeing the exceptions. Possibly you can send me your war file and I can test yours out.
War file attached
Tested the war file and I can still see the exceptions. The Javascript error appears after the popup has been displayed once. I suspect this is because of using the rendered attribute to show/hide the popup. If you change it to visible you will get the other java script exception (the one related to the FCKEditor).
Did you clear the cache? As I can't see any javascript error on my PC using the IE7, and I don't see on test machine using IE6.
May be its my browser error exception setting, I'll try to change my browser setting.
Does this exception breaks the component functionality?
Cleared the cache and still see the messages, I don't think its breaking functionality, just very very annoying, seems to happen when the popup is closed and opened.
Hi Mandeep,
Arran can reproduce this error on his PC, and it doesn't happen on my PC. Can you please ask someone to deploy the attached war and run the demo under IE6 or 7 and let us know if you see any javascript exception.
Thanks,
Tested attached war file on tomcat6 with IE7, could not reproduce the problem.
Arran can you please test your app on some other PC?
Thanks,
Tested my app on Tylers machine and he was able to see the JavaScript errors. If the errors don't popup it should say Errors on page in the bottom left corner of IE.
Didn't even see the error on the bottom left corner as well.
Yip, I am not able to reproduce this error on my machine, so I am unable to fix it. Can you please run this attached war, and see if you get this error?
Thanks,
.war file doesn't run. All I get is:
HTTP Status 404 - /ICe-3304/
description The requested resource (/ICe-3304/) is not available.
I accessed the app. thru. Tomcat Manager. And the manager showed that it had been deployed successfully and was up and running. No errors either in the Tomcat console.
Need to create an Intellij project to run?
Problem reproduced on my machine. See screenshot-1. The error is popped up by first clicking Show, then clicking Close, then clicking Show again.
This is the unspecified error. If you change how the popup is shown/removed to using visible instead of rendered it will through the 800a025e error which is a known issue with the FCKEditor. I have an example if you need one.
Suggested fix applied to fix error 800a025e.
Don't know how to fix the other (Unspecified) error. The error message is useless, and when I say Yes to Debug, the script debugger just comes up totally blank.
Finally got the error line to display in the Script Debugger. See screenshot-3. Now we need to figure out how to debug and fix this. The FCKeditor source code is actually scrambled and then zipped, so to debug and change it requires a few extra tedious steps.
The issue is due to the FCKeditor being used within a hidden div. We should look at adding this workaround to our code base.