Opened 12 years ago

Closed 12 years ago

#9609 closed Bug (fixed)

JavaScript error when inserting new column in the table

Reported by: Piotrek Koszuliński Owned by: Olek Nowodziński
Priority: Normal Milestone: CKEditor 4.0
Component: General Version: 4.0
Keywords: Cc:

Description

V4's version of ticket which we had in v3: #8295.

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.

Keep cursor in cell 1.2 right click and choose Column->Insert Column Before/After.

Issue: JS error is thrown and error message: 'colSpan' is null or not an object.

Attachments (1)

9609.html (1.7 KB) - added by Olek Nowodziński 12 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by Olek Nowodziński

Owner: set to Olek Nowodziński
Status: newassigned

comment:2 Changed 12 years ago by Garry Yao

Owner: changed from Olek Nowodziński to Garry Yao

comment:3 Changed 12 years ago by Olek Nowodziński

Owner: changed from Garry Yao to Olek Nowodziński
  • Created branches t/9609@cksource and t/9609@tests-v4.
  • Ported v3 solution with test cases.
  • Created #9614 ticket for "insert column before" behavior concerns.
Last edited 12 years ago by Olek Nowodziński (previous) (diff)

comment:4 Changed 12 years ago by Olek Nowodziński

Status: assignedreview

Changed 12 years ago by Olek Nowodziński

Attachment: 9609.html added

comment:5 Changed 12 years ago by Garry Yao

Status: reviewreview_passed

comment:6 Changed 12 years ago by Olek Nowodziński

Resolution: fixed
Status: review_passedclosed
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