Opened 14 years ago

Closed 14 years ago

#5319 closed Bug (fixed)

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

Reported by: Satya Minnekanti Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.3
Component: General Version: 3.2
Keywords: IBM Confirmed Review+ Cc: Damian, 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 Minnekanti 14 years ago.
Replace Issue.2.doc (48.0 KB) - added by Satya Minnekanti 14 years ago.
5319.patch (528 bytes) - added by Garry Yao 14 years ago.
5319_2.patch (1.6 KB) - added by Garry Yao 14 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 Changed 14 years ago by Garry Yao

Keywords: Pending added

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

Changed 14 years ago by Satya Minnekanti

Attachment: Replace Issue.doc added

Changed 14 years ago by Satya Minnekanti

Attachment: Replace Issue.2.doc added

comment:2 Changed 14 years ago by Satya Minnekanti

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 14 years ago by Garry Yao

Keywords: Confirmed added; Pending removed

Changed 14 years ago by Garry Yao

Attachment: 5319.patch added

comment:4 Changed 14 years ago by Garry Yao

Keywords: Review? added
Owner: set to Garry Yao
Status: newassigned

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

Fixed with [5299].

comment:7 Changed 14 years ago by Satya Minnekanti

Resolution: fixed
Status: closedreopened

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 14 years ago by Garry Yao

Attachment: 5319_2.patch added

comment:8 Changed 14 years ago by Garry Yao

Keywords: Review? added; Review+ removed
Status: reopenednew

comment:9 Changed 14 years ago by Frederico Caldeira Knabben

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

comment:10 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:11 Changed 14 years ago by Garry Yao

Resolution: fixed
Status: newclosed

Fixed with [5329].

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