Opened 11 years ago
Closed 11 years ago
#10890 closed Bug (fixed)
Error thrown when we press delete after first list item in a Numbered/Bulleted list inside a table
Reported by: | Satya Minnekanti | Owned by: | Olek Nowodziński |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.3.1 |
Component: | General | Version: | 3.6.4 |
Keywords: | IBM | Cc: | Teresa Monahan, Irina |
Description
To reproduce the defect:
- Open any sample and insert a table.
- Keep cursor inside a table cell & click on Numbered/Bulleted list icon in the toolbar to start a list
- New list created and cursor stays after first list item in Numbered/Bulleted list
- Press Delete
Expected Result: Nothing should happen
Actual Result: In IE A javascript error thrown & error is Unable to get the value of the property is: object is null or undefined.
In Firefox list is deleted
Change History (6)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|---|
Version: | → 3.6.4 |
comment:2 Changed 11 years ago by
Summary: | IE: Error thrown when we press delete after first list item in a Numbered/Bulleted list inside a table → Error thrown when we press delete after first list item in a Numbered/Bulleted list inside a table |
---|
#11128 was marked as duplicate.
Add the table with the list inside:
<table border="1" cellpadding="1" cellspacing="1" style="width:500px"> <tbody> <tr> <td> <ol> <li>One</li> <li>Two</li> </ol> </td> <td>Test</td> </tr> </tbody> </table>
Move cursor to the end of the second item of the list and press Delete.
comment:3 Changed 11 years ago by
Owner: | set to Olek Nowodziński |
---|---|
Status: | confirmed → assigned |
comment:5 Changed 11 years ago by
Milestone: | → CKEditor 4.3.1 |
---|---|
Status: | review → review_passed |
comment:6 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
git:58b6b95 landed in master.
I actually got error in every Browser. Chrome and IE don't remove bullet while Firefox does but every browser throws error:
Message: TypeError: nextBlock is null
Code: if ( nextBlock.is( 'li' ) ) {
URI: /ckeditor4/plugins/list/plugin.js Line: 721
Problem can be reproduced from CKEditor 3.6.4 rev. [7540]