Error prevents user from seeing the usage tab.

Created on 19 January 2024, 10 months ago
Updated 10 April 2024, 8 months ago

Problem/Motivation

When I visit the Usage tab of a node, I get the following 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 141 of core/lib/Drupal/Core/Entity/Query/Sql/Query.php).

Steps to reproduce

  1. Enable Entity Usage on File, Media, Content and Taxonomy term.
  2. Visit a node's usage tab

Proposed resolution

TBD

Remaining tasks

  • ❌ Identify the cause of the error
  • ❌ Create a merge request fixing the error
  • ❌ Test the the merge request
  • ❌ Write or update any relevant automated tests
  • ❌ Merge and commit the fix.

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇺🇸United States cedewey Denver, CO

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

Comments & Activities

Production build 0.71.5 2024