Access check missing in EntityModelCommands.php

Created on 24 May 2023, over 1 year ago
Updated 25 May 2023, over 1 year ago

Problem/Motivation

After scanning with upgrade status there were some warnings left.

modules/contrib/entity_model/src/Commands/EntityModelCommands.php line 64

error: 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.

Proposed resolution

patch added

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇧🇪Belgium akasake

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

Comments & Activities

Production build 0.71.5 2024