Breaks the message module

Created on 16 June 2023, over 1 year ago
Updated 30 July 2024, 5 months 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

Closed: works as designed

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.
  • Status changed to Closed: works as designed 5 months ago
  • 🇮🇳India rajeshreeputra Pune

    Looks like this is fixed in latest release, Please feel free to reopen if issue exist.

Production build 0.71.5 2024