Closed (fixed)
Project:
Drupal core
Version:
9.1.x-dev
Component:
database system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2020 at 09:48 UTC
Updated:
27 Jul 2020 at 12:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
daffie commentedPatch changes the db query to an entity query.
Comment #3
hardik_patel_12 commentedVerified this patch on local. Looks good to me.
Comment #4
pratik_kambleComment #5
pratik_kambleComment #7
catchCommitted cf1010f and pushed to 9.1.x. Thanks!
Comment #8
catchThis needs an ->accessCheck(FALSE). We're querying what's in the database as opposed to what's available to the current user.
Comment #9
daffie commentedAdding the requested
->accessCheck(FALSE)to the EntityQuery.Comment #10
hardik_patel_12 commentedBack to RTBC , accessCheck is added to query as suggested by @catch.
Comment #12
catchCommitted 595c96e and pushed to 9.1.x. Thanks!