nextcloud-server/lib/private/Files/Cache
Jonas 7d07e06bfe Check whether entry is of type ICacheEntry in Cache->remove()
In some scenarios (file not in cache, but partial data of it in the
object), Cache->get() might return an array, which leads to errors like
"Call to a member function getId() on array".

So check whether the returned entry is of type ICacheEntry before doing
operations on it in Cache->remove().

Fixes: #33023

Signed-off-by: Jonas <jonas@freesources.org>
2022-06-29 10:47:07 +07:00
..
Wrapper
Cache.php Check whether entry is of type ICacheEntry in Cache->remove() 2022-06-29 10:47:07 +07:00
CacheEntry.php store unencrypted size in the unencrypted_size column 2022-06-02 16:07:00 +07:00
CacheQueryBuilder.php Search without join on filecache_extended 2022-06-23 16:23:52 +07:00
FailedCache.php
HomeCache.php
HomePropagator.php
LocalRootScanner.php
MoveFromCacheTrait.php
NullWatcher.php
Propagator.php store unencrypted size in the unencrypted_size column 2022-06-02 16:07:00 +07:00
QuerySearchHelper.php Search without join on filecache_extended 2022-06-23 16:23:52 +07:00
Scanner.php Migrate more classes of lib/private to LoggerInterface 2022-04-26 16:52:52 +07:00
SearchBuilder.php Files: Extend search to also cover tags 2022-05-17 21:05:09 +07:00
Storage.php Merge pull request #31816 from nextcloud/bugfix/noid/deduplicate-storage-id-before-reusing 2022-04-04 19:00:22 +07:00
StorageGlobal.php cache storage id mapping both ways 2022-03-31 14:35:42 +07:00
Updater.php
Watcher.php