Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#8080 closed Bug (fixed)

JS error when inserting new row in table

Reported by: j.swiderski 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 5 years ago by j.swiderski

  • Status changed from new to confirmed

comment:2 Changed 5 years ago by satya

  • Cc satya_minnekanti@… added
  • Keywords IBM added

comment:3 Changed 5 years ago by garry.yao

  • Component changed from General to Core : Tables

comment:4 Changed 5 years ago by garry.yao

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

comment:5 Changed 5 years ago by garry.yao

Fixed with [7230].

comment:6 Changed 5 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from confirmed to closed

comment:7 Changed 5 years ago by wwalc

  • Milestone set to CKEditor 3.6.2
Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy