Skip to content

deletes original files when pretending to delete only linked files (APPALLING) #3652

@emmanueldufour

Description

@emmanueldufour

Steps to reproduce

From a fresh installation and clean workspace:
create a java empty project
delete the "module-info.java" in the src folder
in package explorer :
-drag and drop a folder from the computer file system containing java files in the "SRC" folder of the project
-choose "link to files and folders", and "creater link locations relative to PROJECT_LOC"
-delete the packages you just created in the SRC folder, "delete these x elements" click OK, then on the confirmation box "Confirm Linked Folder Delete" it clearly says "Linked target will remain unchanged", click Yes, then confirm the "changes to be performed" and poof your linked files, I mean the real ones, not just the links are deleted......APPALLING

I expected: delete the links not the files

But got: deleted source files


## Tested under this environment:
* OS & version: win 11
* Eclipse IDE/Platform version (as shown in *Help > About*):
* Eclipse IDE for Enterprise Java and Web Developers
Version: 2025-09 (4.37.0)
Build id: 20250905-1456


## Community

- [ ] I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions