Bug 57997

Summary: Project wide replace destroys symlinks
Product: [Applications] kdevelop Reporter: lament
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description lament 2003-05-02 05:55:18 UTC
Version:           3.0.0a4 (using KDE KDE 3.1)
Installed from:    RedHat RPMs
Compiler:          gcc 3.2.2 
OS:          Linux

Using the project wide replace tool on project files that are symlinks causes the link to be removed and replaced with the modified file. Only files that are not open in the editor are affected.

To reproduce:
- Add a file from a non-source directory to your target and choose the default option to create a symlink.
- Make sure the file is not open for editing.
- Use the project wide replace tool to modify something in the added file

Results:
- Symlink will be destroyed and replaced with the modified source

Expected results:
- Symlink should remain intact and the target file should be modified instead
Comment 1 Jens Dagerbo 2003-05-03 02:09:02 UTC
Fixed in CVS. Thanks for the report! :)