Issue 85684 - $ in replace string with RegEx checked hangs Writer
Summary: $ in replace string with RegEx checked hangs Writer
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOH680m5
Hardware: PC All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: stefan.baltzer
QA Contact: issues@sw
URL:
Keywords: oooqa, regression
: 84921 (view as issue list)
Depends on:
Blocks: 84957
  Show dependency tree
 
Reported: 2008-01-29 15:24 UTC by mike_hall
Modified: 2013-08-07 14:42 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description mike_hall 2008-01-29 15:24:53 UTC
To create.

New document with text eg    a,b
Ctrl+F  put  , in Seach for  and $ in Replace with
1) Click Replace -> OK

2) Click undo
Click More Options and click RE
Click Replace -> Hang

2.3 is OK for both -> regression
Comment 1 stefan.baltzer 2008-01-30 16:30:54 UTC
SBA: Was OK in OOo 2.3.1 too. Was OK until SRC680m238, broken since SRC680m239
SBA->AMA: Looks like a side effect of CWS regexp02.
Change Priority to P2 (Loop)
Set target OOo 2.4
Comment 2 stefan.baltzer 2008-01-30 16:53:14 UTC
Set link to "2.4 blocker meta issue" 84957.
Comment 3 andreas.martens 2008-01-31 07:57:34 UTC
Ooops, happens if at the end of the replace string a "$" or a "\" is used. Even
this does not make sense if reg.exp. is enabled because I'm expecting a digit
behind "$" or "\", OOo should not loop :-/

Fixed in CWS sw8u10stopper
textsearch.cxx

Risk low.
Comment 4 andreas.martens 2008-01-31 10:59:35 UTC
Ready for QA.
Comment 5 stefan.baltzer 2008-01-31 19:17:10 UTC
Verified in CWS sw8u10stopper.
Comment 6 stefan.baltzer 2008-02-13 16:56:08 UTC
SBA: OK in OOH_m7. Closed.
Comment 7 stefan.baltzer 2008-02-14 16:10:18 UTC
*** Issue 84921 has been marked as a duplicate of this issue. ***