Opened 7 years ago

Closed 7 years ago

#5319 closed Bug (fixed)

Replace Option with Match Whole Word Option checked is not working properly

Reported by: satya Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.3
Component: General Version: 3.2
Keywords: IBM Confirmed Review+ Cc: damo, joek

Description

To reproduce the defect:

  1. Open ajax sample.
  1. Type few words(find and replace, finder,replacer,finding,replacing)
  1. Click on "Replace" button.
  1. Fill in contents in replace tab, make sure that the Match Whole Word option is not checked,Fill in Find: field with replace and Replace With: field with aa
  1. Click on Replace all button.
  1. Now see that the words are replaced as(find and aa, finder,aar,finding,replacing)
  1. Click on Replace button again and fill the Find: field with aa and Replace With: field with replace
  1. Make sure that the Match whole word option is checked.
  1. Click on Replace all button.

Actual Result: Now see that the words are replaced as(find and replace, finder,replacer,finding,replacing)

Expected Result:Now see that the words are replaced as(find and replace, finder,aar,finding,replacing)

Attachments (4)

Replace Issue.doc (48.0 KB) - added by satya 7 years ago.
Replace Issue.2.doc (48.0 KB) - added by satya 7 years ago.
5319.patch (528 bytes) - added by garry.yao 7 years ago.
5319_2.patch (1.6 KB) - added by garry.yao 7 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 Changed 7 years ago by garry.yao

  • Keywords Pending added

WFM in both FF and IE, could you provide more details?

Changed 7 years ago by satya

Changed 7 years ago by satya

comment:2 Changed 7 years ago by satya

i have added the file which show you the steps to reproduce the defect.I was able to reproduce this on nightly build

comment:3 Changed 7 years ago by garry.yao

  • Keywords Confirmed added; Pending removed

Changed 7 years ago by garry.yao

comment:4 Changed 7 years ago by garry.yao

  • Keywords Review? added
  • Owner set to garry.yao
  • Status changed from new to assigned

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

Fixed with [5299].

comment:7 Changed 7 years ago by satya

  • Resolution fixed deleted
  • Status changed from closed to reopened

This is not properly fixed.when we have the Match Whole word option checked and when we click on Replace or Replace All button in step 9.It showing an error that the specified text was not found.

Even when i try to find a word by Clicking on Match whole word option checked we are getting an error saying that the specified text was not found.

Changed 7 years ago by garry.yao

comment:8 Changed 7 years ago by garry.yao

  • Keywords Review? added; Review+ removed
  • Status changed from reopened to new

comment:9 Changed 7 years ago by fredck

@satya, please open new ticket for issues that have already been closed, even when they look like related.

comment:10 Changed 7 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:11 Changed 7 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from new to closed

Fixed with [5329].

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