nextcloud-server/lib/private/Files
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
..
AppData Merge pull request #32250 from nextcloud/cleanup/cappedmemorycache 2022-05-13 08:27:28 +07:00
Cache Check whether entry is of type ICacheEntry in Cache->remove() 2022-06-29 10:47:07 +07:00
Config Add stricter psalm type for CappedMemoryCache 2022-05-12 15:06:18 +07:00
Lock Adapt LockScope to LockContext rename 2022-04-07 11:52:16 +07:00
Mount Fix docblock for return type 2022-05-27 20:05:46 +07:00
Node Fix PHP 8.2 warnings about undeclared properties 2022-06-21 16:17:52 +07:00
Notify
ObjectStore Cleanup temporary files after finishing the write to object storage 2022-06-02 12:57:18 +07:00
Search
SimpleFS Extend simple file with extension getter 2022-03-04 06:11:53 +07:00
Storage Merge pull request #31475 from nextcloud/kofemann-patch-1 2022-06-21 18:44:05 +07:00
Stream handle stream wrappers in SeekableHttpStream 2022-06-08 17:52:27 +07:00
Template
Type Migrate from ILogger to LoggerInterface in lib/private 2022-03-24 16:21:25 +07:00
Utils split out some path manipulation logic 2022-04-04 15:40:12 +07:00
FileInfo.php Fix metadata extraction 2022-06-22 17:27:09 +07:00
Filesystem.php fixed when accessing static filesystem calls before setup 2022-03-24 17:01:42 +07:00
SetupManager.php Merge pull request #32768 from nextcloud/fs-setup-onetime-earlier 2022-06-10 11:21:54 +07:00
SetupManagerFactory.php make mount cache duration configurable 2022-03-24 17:36:53 +07:00
View.php Migrate more classes of lib/private to LoggerInterface 2022-04-26 16:52:52 +07:00