﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10400	CKEDITOR(inline) crashes when using ol/ul list	Mandeep		"I am using Inline CKEitor version 4.0.2. I have a ol which has many li tags. In each li, there are contenteditable divs initialized with Inline  CKEditors. Now I create a ol/ul list inside the contenteditable div. Next I add some more content below the ol/ul list. Then I select the complete text below the list and complete text of any li together(see attachment for selection) and press enter, the editor crashes.

Here is the stacktrace of the error:

Uncaught TypeError: Cannot call method 'getParent' of null ckeditor.js:139
CKEDITOR.dom.range.setStartBefore ckeditor.js:139
CKEDITOR.dom.range.moveToBookmark ckeditor.js:123
CKEDITOR.dom.selection.selectBookmarks ckeditor.js:331
p.exec ckeditor.js:616
exec ckeditor.js:162
CKEDITOR.tools.extend.execCommand ckeditor.js:195
CKEDITOR.plugins.enterkey.enterBlock ckeditor.js:619
m ckeditor.js:618
a.addCommand.exec ckeditor.js:619
exec ckeditor.js:162
CKEDITOR.tools.extend.execCommand ckeditor.js:195
c ckeditor.js:171
h ckeditor.js:10
CKEDITOR.event.CKEDITOR.event.fire ckeditor.js:12
(anonymous function)


Note: This does not happen if the text is not selected completely either of the li or the text below it. Also, it happens only upon clicking enter. There is no error on clicking backspace. And it does not happen if my CKEdtitor div is not present in an li tag of an ol.

Here is the jsfiddle demonstrating the issue:
http://jsfiddle.net/FLZhn/1/

I have fount this bug also in 4.0.1 and 4.1.1

Let me know if you have any other queries. Thanks.
"	Bug	confirmed	Normal		General	4.0 Beta			
