Finder: data loss: file removed instead of put back - The Finder can’t complete the operation because some data in “id=6571367.28079047” can’t be read or written. (Error code -36)
macOS Big sur 11.5.2
When selecting a file from bin, right-clicking and selecting `Put Back` the operation will not happen but an error message is shown:
The Finder can’t complete the operation because some data in “id=6571367.28079047” can’t be read or written. (Error code -36)
When clicking `Ok` the file vanishes but is never put back.
Console output:
error 18:28:43.865768+0200 fileproviderd [ERROR] ❌ no item provided for <private>; NSError: Cocoa 4101 "<private>" Underlying={NSError: PFPAssetRequestErrorDomain 0 "<private>" UserInfo={<private>=<private>} }}}
error 18:28:43.866897+0200 Finder TNode::Move coordination failed to call block. Error = -36
error 18:28:43.871242+0200 PhotosFileProvider [ERROR] Creating internal error for "itemForItemID", original error was: NSError: Cocoa 256 "<private>"
error 18:28:43.872071+0200 fileproviderd [ERROR] can't get item for URL <private> for extension <private>; NSError: Cocoa 256 "<private>"
Apple Care Senior Advisor had no clue how to proceed. Feedback from development pending. This is rather critical as there is data loss involved. Putting a file into bin by accident and not being able to recover it from there is pretty bad. We will see what development has to say about this. With Apple it feels like "Setup new user and migrate" or "Reinstall macOS" incoming.