Breaks the message module

Created on 16 June 2023, about 1 year ago

Problem/Motivation

Initially I filed this in the message issue queue πŸ› QueryException: Entity queries must explicitly set whether the query should be access checked or not. Active yet on further inspection it turns out that having entity_clone enabled, breaks message entities (even if those are not cloned in the first place).

Steps to reproduce

- Install entity_clone
- Install the message module and message_ui module
- Create a message entity type, hit save
- Now edit the message entity type, hit save again, and the site will crash with error:
Drupal\Core\Entity\Query\QueryInterface::accessCheck(). in Drupal\Core\Entity\Query\Sql\Query->prepare() (line 141 of /var/www/XXX/core/lib/Drupal/Core/Entity/Query/Sql/Query.php).

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΉπŸ‡­Thailand AlfTheCat

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

Comments & Activities

  • Issue created by @AlfTheCat
  • First commit to issue fork.
Production build 0.69.0 2024