Page MenuHomePhabricator

Public | Replicator fails to Recycle deleted files
Open, NormalPublic

Description

Reported by WalterJ on this ticket.

Win 10 v 1709.

  1. Assume Source and Target directories contain the same single file.
  2. Under Job Settings check "Move deleted Items to Recycle Bin"
  3. Delete the file in the Source directory
  4. Run Replicator

The Target directory still contains the file deleted in the Source directory and an error message indicates that the file could not be deleted.
If the box "Move Deleted Items to Recycle Bin" is UNCHECKED, the file is eliminated from the Target directory, no error message appears. However, the file is deleted without sending it to the Recycle Bin.

Event Timeline

Joe created this task.Jan 17 2018, 12:19 PM
Joe created this object in space S5 Public.
Joe created this object with visibility "Public (No Login Required)".
Joe triaged this task as High priority.Nov 9 2019, 8:26 PM

Leonard B just reported a test where "Move deleted Items to Recycle Bin" simply deletes the file, no error, and it's counted in the Files Recycled count.

Joe added a comment.EditedFri, Jun 5, 11:57 PM

Martin was recently burned by this, as reported to support:

I have "Move Deleted Items to Recycle Bin" enabled, but don't see the deleted items in the Windows Recycle Bin. Where are they? Does the external drive have a hidden Recycle Bin?

Hey, have they been moved to a hidden folder named for Windows 7's recycle bin location?

Joe added a comment.Sat, Jun 6, 12:06 AM

This worked on my machine on NTFS external drive, BitLocker encrypted.

Joe raised the priority of this task from High to Needs Triage.Sat, Jun 6, 12:07 AM
Joe added a comment.EditedMon, Jun 15, 7:59 PM

Martin figured out that some SD cards don't have Recycle Bins and asked if that could be the issue.

That is the issue.

Replicator claims to have recycled these files, but they're just gone:

6/15/2020 7:46:21 PM: Recycled File: I:\Folder Test\minqlx\.gitignore
6/15/2020 7:46:21 PM: Recycled File: I:\Folder Test\minqlx\commands.c
6/15/2020 7:46:21 PM: Recycled File: I:\Folder Test\minqlx\common.h
6/15/2020 7:46:21 PM: Recycled File: I:\Folder Test\minqlx\dllmain.c

Created T202: Do not delete if Move to Recycle Bin fails

Joe triaged this task as Normal priority.Mon, Jun 15, 8:02 PM