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: None
-
Labels:None
-
Environment:supported browsers
Description
In "compat" component-showcase after navigating to inputRichText test and reloading the page, every time a CKEditor dialog popup is used there are two overlays rendered but only one is removed after the dialog is closed.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
It looks like ckeditor.js resource is loaded twice and this causes the issue. See also:
http://dev.ckeditor.com/ticket/7588
http://cksource.com/forums/viewtopic.php?t=21460
The issue is caused by the mandatory resource code we have in BridgeSetup. When the page is reloaded the inputRichText resources are first added by JSF, normally our mandatory resource feature verifies if any of the resources it needs to add are already added. In this case though it was failing because JSF in its API represents the 'library' name of the resource with an "" empty string and sometimes with the null value.
The fix just normalizes the values before comparing them. As a result now the previous resources are matched correctly and the mandatory code stops adding the resource a second time.