[MAGNOLIA-3284] webkit javascript errors in FCKEditor Created: 26/Aug/10  Updated: 23/Jan/13  Resolved: 07/Dec/10

Status: Closed
Project: Magnolia
Component/s: fckeditor
Affects Version/s: 4.3.6
Fix Version/s: 4.4

Type: Bug Priority: Minor
Reporter: Nickolaus Wing Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: chrome, javascript, safari, webkit
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File fckeditor.html.patch     Text File fckeditorcode_gecko.js.patch    
Issue Links:
supersession
is superseded by MAGNOLIA-3185 Upgrade FCKEditor in next major versi... Closed
Template:
Patch included:
Yes
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

We tracked this down in response to a bug that eliminated the "Browse Server" button when you tried to create an image but didn't place focus in the editor before hitting the image button. The Selection object representing what's currently selected didn't have any ranges in it, raising an exception under webkit when it tried to call Selection.getRangeAt(0).

The other was a javascript exception that was always popping up on page load on webkit browsers (Chrome/Safari).

Patches are included (applied against today's magnolia trunk).



 Comments   
Comment by Philipp Bärfuss [ 01/Sep/10 ]

Thanks for the patches. In 4.4 we plan to update the FCKEditor, resp. CKEditor it will then be.

Comment by Federico Grilli [ 07/Dec/10 ]

upgrading to the latest fckeditor (2.6.6, see MAGNOLIA-3185) solved the problem. Tested with latest Safari and Chrome.

Generated at Mon Feb 12 03:44:59 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.