Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Move directory to existing dir specifiying REPLACE_EXISTING #179

Merged
merged 6 commits into from
Aug 9, 2023

Conversation

infeo
Copy link
Member

@infeo infeo commented Aug 9, 2023

Fixes #176.

Additionally, I changed the execution order when deleting fs nodes of the move target. Now, we first delete the directory link and only then the now orphaned content dir is deleted. The reasoning is: An orphaned directory can be recovered, while a broken directory link cannot be repaired.

Co-authored-by: Sebastian Stenzel <[email protected]>
@infeo infeo requested a review from overheadhunter August 9, 2023 14:13
@infeo infeo merged commit cd42970 into develop Aug 9, 2023
@infeo infeo deleted the feature/176-ignore-dirid branch August 9, 2023 15:10
@tobihagemann tobihagemann added this to the 2.6.7 milestone Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DirectoryNotEmptyException when moving directory with REPLACE_EXISTING set
3 participants