Issue Bug Closed

#83073Ckeditor : random bug when try to create a link

Mohamed Rebai 11/23/17, 15:43 updated 10/16/18, 09:21

Description

Hi,

I’m working on TYPO3 8.7.8, Google Chrome

I have a random bug when i try to create a link.

Sometimes in the link browser popup, when i try to click on a page or a file, i got this error in my inspector :

ckeditor.js?bust=6f973a2aab8225f3f3f0518bcd61e35482d17c3a:161
Uncaught TypeError: Cannot read property ‘getParent’ of null
at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.range.setStartBefore (ckeditor.js?bust=6f973a2aab8225f3f3f0518bcd61e35482d17c3a:161)
at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.selection.selectElement (ckeditor.js?bust=6f973a2aab8225f3f3f0518bcd61e35482d17c3a:434)
at Object.LinkBrowser.finalizeFunction (/typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/RteLinkBrowser.js?bust=6f973a2aab8225f3f3f0518bcd61e35482d17c3a:103)
at HTMLAnchorElement.FileLinkHandler.linkFile (/typo3/sysext/recordlist/Resources/Public/JavaScript/FileLinkHandler.js?bust=6f973a2aab8225f3f3f0518bcd61e35482d17c3a:36)
at HTMLAnchorElement.dispatch (jquery-3.2.1.min-54da4c8178bef4f9cb1368d36480b29b.js:3)
at HTMLAnchorElement.q.handle (jquery-3.2.1.min-54da4c8178bef4f9cb1368d36480b29b.js:3)

But the error is not always there, when i start editing a content, the first 2 or 3 link insertions work, but then it stop working with this error

I use the default configuration of CKeditor

Any help ?

Thanks

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.