Opened 7 years ago

Closed 7 years ago

#4951 closed Bug (fixed)

Replace dialog throwing JavaScript error

Reported by: wwalc Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.2
Component: General Version: SVN (CKEditor) - OLD
Keywords: Confirmed Review+ Cc:


When replacing some text with empty value, javascript error is thrown:

K.matchRange is null
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 7 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 years ago by fredck

  • Milestone set to CKEditor 3.2

comment:2 Changed 7 years ago by m.nguyen

  • Owner set to garry.yao

comment:3 Changed 7 years ago by garry.yao

  • Status changed from new to assigned

Leaving the replacement text will constantly trigger an error.

Changed 7 years ago by garry.yao

comment:4 Changed 7 years ago by garry.yao

  • Keywords Review? added

comment:5 Changed 7 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:6 Changed 7 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from assigned to closed
  • Version changed from 3.0 to SVN (CKEditor)

Fixed with [5013].

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy