nextcloud/lib/private/Files
Jonas aec0899efd 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-30 12:25:26 +00:00
..
AppData Use storage filter when fetching previews to cleanup 2021-08-26 22:03:05 +02:00
Cache Check whether entry is of type ICacheEntry in Cache->remove() 2022-06-30 12:25:26 +00:00
Config only register mounts that are new from providers that are new during a full setup 2022-04-22 15:06:30 +00:00
Lock Adapt LockScope to LockContext rename 2022-04-07 11:52:16 +02:00
Mount don't do a full setup for findByStorageId 2022-04-04 15:40:20 +02:00
Node log stacktrace for 'Backends provided no user object' 2022-04-20 12:26:41 +00:00
Notify Update php licenses 2021-06-04 22:02:41 +02:00
ObjectStore Cleanup temporary files after finishing the write to object storage 2022-06-02 16:28:20 +00:00
Search generate a better optimized query for path prefix search filters 2021-08-26 19:07:52 +02:00
SimpleFS Extend simple file with extension getter 2022-03-04 06:11:53 +00:00
Storage store unencrypted size in the unencrypted_size column 2022-06-03 15:43:50 +02:00
Stream handle stream wrappers in SeekableHttpStream 2022-06-09 07:58:35 +00:00
Template Update php licenses 2021-06-04 22:02:41 +02:00
Type Migrate from ILogger to LoggerInterface in lib/private 2022-03-24 16:21:25 +01:00
Utils split out some path manipulation logic 2022-04-04 15:40:12 +02:00
FileInfo.php Fix metadata extraction 2022-06-28 13:37:59 +00:00
Filesystem.php fixed when accessing static filesystem calls before setup 2022-03-24 17:01:42 +01:00
SetupManager.php Merge pull request #32801 from nextcloud/backport/32797/stable24 2022-06-10 14:47:03 +02:00
SetupManagerFactory.php make mount cache duration configurable 2022-03-24 17:36:53 +01:00
View.php optimize adding submount info to directory content 2022-04-25 16:28:05 +02:00