﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
7996	Invalid table code creates error	vosmanz		"When I insert a table with an incorrect colspan in the first row, and then try to 'insert row before' in the second row, I get a javascript error:

'rowSpan is empty or not an object' in plugins/tabletools/plugin.js on line 142.

Used code:

{{{
<table border=""1"" cellpadding=""1"" cellspacing=""1"" style=""width: 500px"" summary="""">
	<tbody>
		<tr>
			<td colspan=""3"">
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
	</tbody>
</table>
}}}

Steps:[[BR]]
1 - Paste the code in the editor.[[BR]]
2 - Right-click in the second row.[[BR]]
3 - Choose 'Row' -> 'Insert row before' (I use dutch language, so translation might be different)[[BR]]
4 - Get a javascript error

I know the code is 'wrong' (colspan=""3"" should be colspan=""2""). However, it should be great if this could be fixed by CKeditor because now you can't edit the table when, for example, you copy bad code from another website.

Because of bug #7896, this now can only be fixed when the user has source-mode available.

Only tested in IE8 (win7), using CKEditor 3.6.[[BR]]
Also tested in nightly build."	Bug	closed	Normal		Core : Tables	3.5.1	fixed		
