View Issue Details

IDProjectCategoryView StatusLast Update
0002174Double CommanderFile operationspublic2021-09-05 15:10
Reportercordylus Assigned ToAlexx2000  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
Product Version0.8.4 
Target Version0.9.0Fixed in Version0.9.0 
Summary0002174: Find and replace in files search may overwrite the wrong part of file
DescriptionVery important bug that can lead to data loss.

The changed string is written not in the place of the found one. The found string is left as is, unreplaced.
Steps To ReproduceTake language/doublecmd.tr.po from the Double Commander sources trunk
Open Commands, Search
Find text in file: msgid "Syn&chronize dirs..."
Replace by: anything
Check where "anything" has appeared, few lines earlier in the middle of a totally different string.
TagsNo tags attached.
Fixed in Revision8408-8410
Operating systemWindows
Widgetset
Architecture32-bit

Activities

Alexx2000

2018-11-05 12:26

administrator   ~0002866

Problem with languages where upper case symbol length in bytes differ from lower case length in bytes (UTF-8, UTF-16). I had disable case insensitive string replace for variable length encodings.

Issue History

Date Modified Username Field Change
2018-11-05 07:35 cordylus New Issue
2018-11-05 12:26 Alexx2000 Fixed in Revision => 8408-8409
2018-11-05 12:26 Alexx2000 Note Added: 0002866
2018-11-05 12:26 Alexx2000 Assigned To => Alexx2000
2018-11-05 12:26 Alexx2000 Status new => resolved
2018-11-05 12:26 Alexx2000 Resolution open => fixed
2018-11-05 12:26 Alexx2000 Fixed in Version => 0.9.0
2018-11-05 12:26 Alexx2000 Target Version => 0.9.0
2018-11-05 12:41 Alexx2000 Fixed in Revision 8408-8409 => 8408-8410
2021-09-05 15:10 Alexx2000 Status resolved => closed