Problem/Motivation
Installed the module via `composer` then enabled via UI (Extend). When I tried to add translations for certain content type, I got this error :
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).
Steps to reproduce
Proposed resolution
Apparently the module "does not call accessCheck() on the query object, which is now mandatory".
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork add_translation-3407784
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
tyapchyc commentedAdded access check to query.
Comment #4
cestmoi commentedThank you this seems to have solved it. I tested it with no more issues.
Comment #8
jayprakash01 commented