TaxonomyIndexTid::valueForm() is missing accessCheck()

Created on 30 November 2024, 6 months ago

Problem/Motivation

Starting from Drupal 10, it is required to use \Drupal\Core\Entity\Query\QueryInterface::accessCheck() on entity queries, see: https://www.drupal.org/node/3201242 β†’

The entity query in TaxonomyIndexTid::valueForm() is missing the accessCheck(), resulting in error:

Drupal\Core\Entity\Query\QueryException: Entity queries must explicitly set whether the query should be access checked or not. See Drupal\Core\Entity\Query\QueryInterface::accessCheck(). in Drupal\Core\Entity\Query\Sql\Query->prepare() (line 142 of core\lib\Drupal\Core\Entity\Query\Sql\Query.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia poker10

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024