nextcloud/lib/private/Files
Jonas Meurer 5d1157c37c
updateEncryptedVersion: cleanup on target if cache already got renamed
When moving a file to trash with encryption enabled, the cache gets
moved before the actual file. According to @icewind1991 this is in order
to not break object storage.

When moving a file from an unencrypted storage (e.g. a collectives
storage) to the encrypted trashbin storage, this causes errors, see

This commit fixes it by doing `updateEncryptedVersion()` on the target
cache entry *if* the source cache entry doesn't exist anymore, but the
corresponding target cache entry does exist already.

Fixes: #26544

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2022-01-15 13:40:01 +01:00
..
AppData Update php licenses 2021-06-04 22:02:41 +02:00
Cache background scan the source storage when a background scan on a storage jail is triggered 2021-12-06 01:11:44 +01:00
Config Merge pull request #26494 from rigrig/fix-php8-deprecations 2021-06-07 23:30:59 +02:00
Mount Implement multibucket shift for ObjectStore 2022-01-14 08:32:04 +01:00
Node fix Folder->getById() when a single storage is mounted multiple times 2021-08-09 17:29:40 +00:00
Notify Update php licenses 2021-06-04 22:02:41 +02:00
ObjectStore Implement multibucket shift for ObjectStore 2022-01-14 08:32:04 +01:00
Search generate a better optimized query for path prefix search filters 2021-10-07 15:19:58 +00:00
SimpleFS Update php licenses 2021-06-04 22:02:41 +02:00
Storage updateEncryptedVersion: cleanup on target if cache already got renamed 2022-01-15 13:40:01 +01:00
Stream Support seeking also from the end of file on S3 storage 2021-09-20 18:13:25 +00:00
Template Update php licenses 2021-06-04 22:02:41 +02:00
Type Update php licenses 2021-06-04 22:02:41 +02:00
Utils background scan the source storage when a background scan on a storage jail is triggered 2021-12-06 01:11:44 +01:00
FileInfo.php Update php licenses 2021-06-04 22:02:41 +02:00
Filesystem.php Merge pull request #26344 from J0WI/fs-early-root 2021-06-23 15:21:56 +02:00
View.php Merge pull request #26494 from rigrig/fix-php8-deprecations 2021-06-07 23:30:59 +02:00