Opened 14 years ago

Closed 14 years ago

#5794 closed Bug (fixed)

Second search with no result leads to a JS error

Reported by: Sa'ar Zac Elias Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.3.1
Component: General Version: 3.2.2
Keywords: Confirmed Review+ Cc:


Steps to reproduce

  • Load a sample or the demo.
  • Search for something that does not exist, twice.

Notice that there is an error: startNode is null; _source/core/dom/range.js L1386.
Regression of 3.2.2.

Attachments (2)

5794.patch (1.2 KB) - added by Sa'ar Zac Elias 14 years ago.
5794_2.patch (640 bytes) - added by Garry Yao 14 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 14 years ago by Sa'ar Zac Elias

Keywords: HasPatch added

Regression of [5463].

Changed 14 years ago by Sa'ar Zac Elias

Attachment: 5794.patch added

comment:2 Changed 14 years ago by Garry Yao

Keywords: Confirmed Review? added; HasPatch removed
Owner: set to Garry Yao
Status: newassigned

The regression is correct, while let's place the fix to the actual bug as range::setStart doesn't suppose to protect against invalid nodes.

Changed 14 years ago by Garry Yao

Attachment: 5794_2.patch added

comment:3 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:4 Changed 14 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

Fixed with [5570].

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