Page MenuHomePhabricator

Search and replace botches article when using "Replace"
Closed, DuplicatePublic

Description

REPRODUCTION INSTRUCTIONS

  1. use google chrome (tested with 34.0.1847.137 m)
  2. open [[Buchberg (Zittau Mountains)]] for editing (non-visual editor)
  3. do not click anywhere in the textbox,
  4. through "advance", open search and replace
  5. "search for: "wooded", replace with: "Wooded"
  6. click "Replace" (*not* "Replace All")

Notice that the tool added "Wooded" before the first character in the box.

  1. without closing the search&replace form or changing anything in it, click after the word "wooded", such that the caret is blinking immediately after the last "d"
  2. click "Replace" again. notice that instead of replacing the "wooded", the tool adds "Wooded" just in front of it.

see also: bug 42073

peace.


Version: master
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=42073

Details

Reference
bz65732

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:21 AM
bzimport added a project: WikiEditor.
bzimport set Reference to bz65732.
bzimport added a subscriber: Unknown Object (MLST).

tested with FF (v 22): same behavior.

peace.