nextcloud/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 +00:00
..
Wrapper properly handle cases where cache wrappers block access 2021-11-01 11:48:01 +01:00
Cache.php Check whether entry is of type ICacheEntry in Cache->remove() 2022-06-29 10:47:07 +00:00
CacheEntry.php store unencrypted size in the unencrypted_size column 2022-06-02 16:07:00 +02:00
CacheQueryBuilder.php Search without join on filecache_extended 2022-06-23 16:23:52 +02:00
FailedCache.php use searchoperation for storage filter instead of db expression 2021-06-14 16:11:25 +02:00
HomeCache.php Update php licenses 2021-06-04 22:02:41 +02:00
HomePropagator.php Update php licenses 2021-06-04 22:02:41 +02:00
LocalRootScanner.php Update php licenses 2021-06-04 22:02:41 +02:00
MoveFromCacheTrait.php Update php licenses 2021-06-04 22:02:41 +02:00
NullWatcher.php Update php licenses 2021-06-04 22:02:41 +02:00
Propagator.php store unencrypted size in the unencrypted_size column 2022-06-02 16:07:00 +02:00
QuerySearchHelper.php Search without join on filecache_extended 2022-06-23 16:23:52 +02:00
Scanner.php Migrate more classes of lib/private to LoggerInterface 2022-04-26 16:52:52 +02:00
SearchBuilder.php Files: Extend search to also cover tags 2022-05-17 21:05:09 +02:00
Storage.php Merge pull request #31816 from nextcloud/bugfix/noid/deduplicate-storage-id-before-reusing 2022-04-04 19:00:22 +02:00
StorageGlobal.php cache storage id mapping both ways 2022-03-31 14:35:42 +02:00
Updater.php Update php licenses 2021-06-04 22:02:41 +02:00
Watcher.php more reliable return value for Watcher::checkUpdate 2021-10-15 16:03:18 +02:00