⚠️ This issue respects the following points: ⚠️
Bug description
When we run into a unique constraint violation, we delete the preview file at
|
$this->storageFactory->deletePreview($previewEntry); |
This is problematic for local storage, since that deletes the file on disk, while the entry in the DB exists. We probably should only delete it on object storage.
Nextcloud Server version
35 (master)
Reactions are currently unavailable
⚠️ This issue respects the following points: ⚠️
Bug description
When we run into a unique constraint violation, we delete the preview file at
server/lib/private/Preview/Generator.php
Line 597 in 231ec67
This is problematic for local storage, since that deletes the file on disk, while the entry in the DB exists. We probably should only delete it on object storage.
Nextcloud Server version
35 (master)