Drupal 10 compatibility - to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0.

Created on 2 October 2023, about 1 year ago
Updated 13 February 2024, 10 months ago

Problem/Motivation

The latest 4.0.0 version of password_policy module stated as Drupal 10 compatible but Drupal 10 upgrade status module warns errors. Please check attached image.

PasswordPolicyValidationManager.php
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

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Closed: duplicate

Version

4.0

Component

Code

Created by

🇭🇺Hungary bata.laci

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

Comments & Activities

Production build 0.71.5 2024