Problem/Motivation
When I try to delete messages, I get this 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 144 of /app/web/core/lib/Drupal/Core/Entity/Query/Sql/Query.php).
Steps to reproduce
(With messages already created)
Go to /admin/config/message/message_delete_multiple
Select a message type
Press submit =>
"The website encountered an unexpected error. Please try again later."
Proposed resolution
Added accessCheck(FALSE) to query.
Issue fork message_ui-3380085
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
keshavv commentedI am able to reproduce the issue, And the given MR works well.
Comment #6
bluegeek9 commentedI'll make a new release this weekend.