From 4db5f708b631214f899244e293b9ee2a6efe6f8f Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Thu, 21 Nov 2024 10:34:39 +0100 Subject: [PATCH] fix(cache): etag constraint violation Signed-off-by: skjnldsv --- lib/private/Files/Cache/CacheQueryBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Files/Cache/CacheQueryBuilder.php b/lib/private/Files/Cache/CacheQueryBuilder.php index 2853ca033ad..5ae60ee80b6 100644 --- a/lib/private/Files/Cache/CacheQueryBuilder.php +++ b/lib/private/Files/Cache/CacheQueryBuilder.php @@ -48,7 +48,7 @@ class CacheQueryBuilder extends ExtendedQueryBuilder { public function selectFileCache(?string $alias = null, bool $joinExtendedCache = true) { $name = $alias ?: 'filecache'; $this->select("$name.fileid", 'storage', 'path', 'path_hash', "$name.parent", "$name.name", 'mimetype', 'mimepart', 'size', 'mtime', - 'storage_mtime', 'encrypted', 'etag', "$name.permissions", 'checksum', 'unencrypted_size') + 'storage_mtime', 'encrypted', "$name.etag", "$name.permissions", 'checksum', 'unencrypted_size') ->from('filecache', $name); if ($joinExtendedCache) { -- 2.39.5