Entity queries need an explicit accessCheck()

Created on 15 August 2023, 11 months ago
Updated 19 August 2023, 10 months ago

Problem/Motivation

Drupal 10 incompatibility warning found in the Upgrade Status module:

Error found in UnmanagedFilesManager.php line 223. Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.

Steps to reproduce

Scan with Upgrade Status

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

RTBC

Version

1.0

Component

Code

Created by

🇺🇸United States alfattal Minnesota

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024