Opened 11 years ago
Closed 11 years ago
#10893 closed Bug (fixed)
IndexSizeError is thrown on undo
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | IE Firefox | Cc: |
Description (last modified by )
Problem can be reproduced in Firefox and IE9-10. To reproduce:
- Open the “Replace textarea elements by class name” sample page.
- Put the cursor in the editor content.
- Control-A to select all text and then DELETE.
- Paste in some unformatted text 3 times (I typed "this pasted in" in notepad and copied it to the clipboard).
- Enter carriage return.
- Paste the text in 3 more times.
- Click undo two times.
Problem can be reproduced in Firefox from CKEditro 4.0 beta with BR_mode only.
Problem can be best reproduced in IE when BR mode is used but this isn't necessary. In IE this is issue can be reproduced from CKE 4.0.
JS error is thrown:
Message: IndexSizeError: Index or size is negative or greater than the allowed amount
Line: 1942
URI: ckeditor4/core/selection.js
Code: nativeRange.setStart( range.startContainer.$, range.startOffset );
Change History (6)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|
comment:4 Changed 11 years ago by
Description: | modified (diff) |
---|---|
Summary: | IndexSizeError is thrown on undo when Enter_BR is used → IndexSizeError is thrown on undo |
Version: | 4.2.1 → 4.0 |
comment:6 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
This issue was fixed in 4.2.1. Most likely I was right that it was a caused by #10812.
Other issues where IndexSizeError is mentioned: #10869, #10858, #10411, #10972.