Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#8080 closed Bug (fixed)

JS error when inserting new row in table

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone: CKEditor 3.6.2
Component: Core : Tables Version: 3.5.1
Keywords: IBM Cc: satya_minnekanti@…

Description

Insert the following code:

<table border="1" cellpadding="1" cellspacing="1" style="width: 500px;">
	<tbody>
		<tr>
			<td>
				1.1</td>
			<td>
				1.2</td>
		</tr>
		<tr>
			<td>
				2.1</td>
			<td>
				2.2</td>
		</tr>
		<tr>
			<td>
				3.1</td>
			<td>
				3.2</td>
		</tr>
	</tbody>
</table>

Go to cell 1.2, right click and choose Cell->Insert Cell Before.[BR]] Go to cell 2.2 right click and choose Row->Insert Row Before/After.[BR]]

Result: JS error is thrown:
Message: 'rowSpan' is nul lor not an object
Line: 142
URI: /3.6.1/ckeditor/_source/plugins/tabletools/plugin.js

Firebug says: "cloneRow[i] is undefined"

Issue is reproducible in all browsers.

Change History (7)

comment:1 Changed 13 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 13 years ago by Satya Minnekanti

Cc: satya_minnekanti@… added
Keywords: IBM added

comment:3 Changed 13 years ago by Garry Yao

Component: GeneralCore : Tables

comment:4 Changed 13 years ago by Garry Yao

It's funny but other editor has exactly the same error ;)

comment:5 Changed 13 years ago by Garry Yao

Fixed with [7230].

comment:6 Changed 13 years ago by Garry Yao

Resolution: fixed
Status: confirmedclosed

comment:7 Changed 13 years ago by Wiktor Walc

Milestone: CKEditor 3.6.2
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy