Problem/Motivation

On D10 upgrade preparation with Upgrade Status module I get:
Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0.

Proposed resolution

Add accessCheck() with FALSE.

CommentFileSizeAuthor
#2 added-accessCheck-3400511-2.patch613 byteskosa ilma
Command icon 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

Kosa Ilma created an issue. See original summary.

kosa ilma’s picture

StatusFileSize
new613 bytes

The patch.

dench0 made their first commit to this issue’s fork.

  • dench0 committed 1f09dfc5 on 2.0.x
    Issue #3400511 by Kosa Ilma: Relying on entity queries to check access...
dench0’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.