﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
17066	Table seleciton causes exception on a pasted table in certain scenario	Marek Lewandowski		"This issue is reproducible on our Document Editor demo. I wasn't able to repro it on a regular sample.

Maybe the fact that the editor is placed into a DOM dynamically has something to do?

1. Go to [http://ckeditor.com/ Document Editor demo].
1. Make a partial selectiom on the table, say 2x3 cell [[Image(https://i.imgur.com/lsDMhD2.png)]]
1. Copy to clipboard.
1. Move selection into another paragraph.
1. Paste.
1. Try to make table seleciton on a pasted table.

== Expected

Our custom selection is being made.

== Actual

Exception is thrown:

{{{
ckeditor.js?oqkjc5:66 Uncaught TypeError: Cannot read property 'ownerDocument' of undefined
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.getDocument (ckeditor.js?oqkjc5:66)
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.getDocumentPosition (ckeditor.js?oqkjc5:108)
    at b (ckeditor.js?oqkjc5:1220)
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.document.<anonymous> (ckeditor.js?oqkjc5:1227)
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.document.c (ckeditor.js?oqkjc5:11)
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.document.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.event.CKEDITOR.event.fire (ckeditor.js?oqkjc5:13)
    at HTMLDocument.<anonymous> (ckeditor.js?oqkjc5:58)
}}}

== Additional Information

I was able to reproduce it on Chrome, and Edge. Most likely it's reproducible on other browsers too."	Bug	closed	Must have (possibly next milestone)	CKEditor 4.7.1	General	4.7.0	fixed		
