Opened 16 years ago
Closed 16 years ago
#4951 closed Bug (fixed)
Replace dialog throwing JavaScript error
| Reported by: | Wiktor Walc | Owned by: | Garry Yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.2 |
| Component: | General | Version: | SVN (CKEditor) - OLD |
| Keywords: | Confirmed Review+ | Cc: |
Description
When replacing some text with empty value, javascript error is thrown:
K.matchRange is null plugins/find/dialogs/find.js?t=A057 Line 7
Steps to reproduce
- start with the following text:
aaa bbb ccc - click on the "Replace" button
- Find what: a
- Replace With: (empty value)
- result: all "a" letters are removed properly, but also javascript error occurs.
Attachments (1)
Change History (7)
comment:1 Changed 16 years ago by
| Milestone: | → CKEditor 3.2 |
|---|
comment:2 Changed 16 years ago by
| Owner: | set to Garry Yao |
|---|
comment:3 Changed 16 years ago by
| Status: | new → assigned |
|---|
Changed 16 years ago by
| Attachment: | 4951.patch added |
|---|
comment:4 Changed 16 years ago by
| Keywords: | Review? added |
|---|
comment:5 Changed 16 years ago by
| Keywords: | Review+ added; Review? removed |
|---|
comment:6 Changed 16 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
| Version: | 3.0 → SVN (CKEditor) |
Fixed with [5013].

Leaving the replacement text will constantly trigger an error.