Fix access check on query

Created on 6 July 2023, over 1 year ago
Updated 14 September 2023, over 1 year ago

Problem/Motivation

Upgrade status report: 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.

on media_directories_ui/src/Form/DirectoryDeleteForm.php:131

Steps to reproduce

Scan with Upgrade Status module.

Proposed resolution

Add explicit access check.

Remaining tasks

Provide issue fork/patch.

📌 Task
Status

Fixed

Version

2.1

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024