Closed (duplicate)
Project:
Drupal core
Version:
8.9.x-dev
Component:
tracker.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Jan 2020 at 15:53 UTC
Updated:
27 May 2021 at 16:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
catchComment #3
heddnIt is unfortunate that it will be difficult to test. Nodes don't have access limitations normally affixed to them. 'entity_test' does, but then we're not using node any more and tracker won't query it. But perhaps for inspiration, look at https://git.drupalcode.org/project/migrate_plus/blob/8.x-5.x/tests/src/K... for a similar type case that we wanted to test.
Tagging for tests and bump to NW for those tests.
Comment #4
xjmI assume this affects D8 too? Thanks!
Comment #6
catchThis was fixed by #2785449: It's too easy to write entity queries with access checks that must not have them.