Problem/Motivation
Upgrade Status reported the problem with the following files not having access checks on entity queries:
- web/modules/contrib/facets/tests/src/FunctionalJavascript/JsBase.php line 96
- web/modules/contrib/facets/tests/src/Functional/ExampleContentTrait.php line 31 and 75
There is a related issue where tests are somewhat fixed, but not entirely: Automated Drupal10 compatiblity fixes
Steps to reproduce
Run Upgrade Status checks on the module on D9.5
Proposed resolution
Add accessCheck() to the reported queries.
Remaining tasks
User interface changes
-
API changes
-
Data model changes
-
Issue fork facets-3305120
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
Comment #3
balintpekkerComment #5
mkalkbrenner