Drupal 10 compatibility fixes.

Created on 26 February 2024, 4 months ago

Problem/Motivation

The following errors were raised on the Drupal 10.1.6 version
1)
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)...

2)
Error: Call to undefined function Drupal\entity_legal\Form\render() in Drupal\entity_legal\Form\EntityLegalDocumentForm->form() (line 182 of modules/contrib/entity_legal/src/Form/EntityLegalDocumentForm.php).

Proposed resolution

Provide a fix for the EntityQuery in the getAllVersions method.

πŸ› Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine v.dovhaliuk

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024