Opened 11 years ago
Last modified 10 years ago
#9679 confirmed Bug
Deleting extra space below table and "unlisting" causes JS error
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.6.4 |
Keywords: | Webkit IE | Cc: |
Description (last modified by )
Reproducible from CKEditor 3.6.4 rev. [7538]. Can also be reproduced in CKEditor 4.x.
- Open replacebycode sample and clear editor contents
- Create 3 level list
- Click at the end of second list item and insert table
- There will be space below table and last list item
- Put cursor in this extra space and press delete
- Last list item will be joined with second one. Now cursor should be at the beginning of text that previously belonged to last list item.
- Click list button again
Result: table and taxt that previously belonged to last list item disappears and JS error pops out:
Message: Cannot call method 'getParent' of null
Line: 1608
URI: ckeditor/_source/core/dom/range.js
Attachments (1)
Change History (5)
Changed 11 years ago by
Attachment: | 2012-11-20_1405.swf added |
---|
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 11 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 10 years ago by
Keywords: | IE added |
---|
I was able to reproduce this issue in IE and Webkit. In Firefox and Opera HTML result is the same i.e. table is removed but no error is thrown.
comment:4 Changed 10 years ago by
JS error:
Message: Cannot call method 'getParent' of null
URI: /ckeditor4/core/dom/range.js
Line: 1523
This ticket looks very similar to #10400. Ticket #10400 throws same error in same line but in every browser.
HTML result for this ticket however is disturbing and IMHO suggests silent fail in 2 other browsers thus I think that both tickets have same fix.
Viedo showing how to reproduce