Opened 13 months ago

Closed 3 months ago

Last modified 3 months ago

#14762 closed Bug (fixed)

Tableresize plugin:"Error: Unable to get property 'cells' of undefined or null reference" when the table has no row/cells

Reported by: Martin Laberge Owned by: beata_delura
Priority: Normal Milestone: CKEditor 4.7.0
Component: Core : Tables Version: 4.0
Keywords: Cc:

Description

Steps to reproduce

  1. Table Resizer plugin installed.
  2. In the editor, go to source mode, then type :

<table border="1" cellspacing="2" style="width:400px">

<tbody> </tbody>

</table>

  1. Close the source view
  2. Drag the mouse over the empty table

Expected result

Nothing should happen, table is empty

Actual result

Error: Unable to get property 'cells' of undefined or null reference

Other details (browser, OS, CKEditor version, installed plugins)

Browser is IE 11, CK Editor 4.5.10, Table Resizer plugin installed.

Change History (11)

comment:1 Changed 12 months ago by Jakub Ś

Status: newconfirmed
Summary: Table resizer : "Error: Unable to get property 'cells' of undefined or null reference" when the table has no row/cellsTableresize plugin:"Error: Unable to get property 'cells' of undefined or null reference" when the table has no row/cells
Version: 4.5.10 (GitHub - master)4.0

Such table structure seems to be valid - https://html.spec.whatwg.org/multipage/tables.html#the-tbody-element.

Problem can be reproduced from CKEditor 4.0 in all browsers. just hover over empty table.

comment:2 Changed 4 months ago by beata_delura

Owner: set to beata_delura
Status: confirmedassigned

comment:3 Changed 4 months ago by beata_delura

Status: assignedreview

comment:4 Changed 4 months ago by kkrzton

Status: reviewreview_failed

comment:5 Changed 3 months ago by beata_delura

Status: review_failedassigned

comment:6 Changed 3 months ago by beata_delura

Status: assignedreview

comment:8 Changed 3 months ago by beata_delura

Status: review_failedassigned

comment:9 Changed 3 months ago by beata_delura

Status: assignedreview

comment:10 Changed 3 months ago by kkrzton

Resolution: fixed
Status: reviewclosed

Fixed with 9f08a20.

comment:11 Changed 3 months ago by kkrzton

Milestone: CKEditor 4.7.0
Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy