Opened 14 years ago

Closed 14 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)

4951.patch (1.0 KB) - added by Garry Yao 14 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.2

comment:2 Changed 14 years ago by Minh Nguyen

Owner: set to Garry Yao

comment:3 Changed 14 years ago by Garry Yao

Status: newassigned

Leaving the replacement text will constantly trigger an error.

Changed 14 years ago by Garry Yao

Attachment: 4951.patch added

comment:4 Changed 14 years ago by Garry Yao

Keywords: Review? added

comment:5 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:6 Changed 14 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed
Version: 3.0SVN (CKEditor)

Fixed with [5013].

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy