Add entity query accessCheck for Drupal 10 compatibility

Created on 21 September 2023, over 1 year ago
Updated 22 September 2023, over 1 year ago

Problem/Motivation

The module is currently throwing a QueryException error in Drupal 10. There is an entity query that is missing an accessCheck(), now required by Drupal 10 on all entity queries.

Proposed resolution

Update src/Plugin/Field/FieldFormatter/EntityReferenceOverflowFormatter.php to add an accessCheck() with the intended boolean parameter on the entity query in the function relatedItemQuery(). Check and add for any other entity queries that the module uses, if applicable.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mlupi

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

Comments & Activities

Production build 0.71.5 2024