- Issue created by @die-josi
- 🇺🇦Ukraine rsych
Hello die-josi, could you please provide steps to reproduce the issue?
- 🇮🇳India dineshkumarbollu
Hi
The reason for this warning is "Access checking must be explicitly specified on content entity queries" see the https://www.drupal.org/node/3201242 → . I test the module for entityQueries No queries found. I think below code is reason for warning$query = $this->database->select('par', 'p') ->fields('p'); if ($entity_id) { $query->condition('entity_id', $entity_id); } if ($entity_type) { $query->condition('entity_type', $entity_type); } if ($uid) { $query->condition('uid', $uid); } if ($role) { $query->condition('role', $role); } if ($action) { $query->condition('action', $action); } return $query->execute()->fetchAll(); }
If confirm i will provide patch.Thanks
- Status changed to Needs work
about 1 year ago 7:17am 22 August 2023 - 🇺🇦Ukraine rsych
Hi @dineshkumarbollu,
Yes, please create the patch. I still can't reproduce the issue.
@die-josi if possible please check the patch when it's done.
- Status changed to Needs review
about 1 year ago 8:16am 22 August 2023 - Status changed to Closed: works as designed
about 1 year ago 10:50am 21 October 2023 - 🇺🇦Ukraine HitchShock Ukraine
Hi @rsych and @dineshkumarbollu
We don't need that patch, all work as designed.The issue described in https://www.drupal.org/node/3201242 → is dependent only on the entity queries, but not simple DB queries.