- Issue created by @Toni27
- Status changed to Needs review
11 months ago 6:20am 31 October 2023 - 🇮🇳India santhosh@21
The patch works fine
Drupal - 10.2.1
webform_submissions_delete - 8.x-1.1
When trying to delete Webform submissions for a specified date range the module always runs into an exception in Drupal 10, because for EntityQueries there is not longer a default or implizit behavior for this. (See attached File with details about the excecption).
Try to delete submissions with date range specified in Drupal 10 and latest Webform Release Candidate version.
Add access check ( $entity_query->accessCheck(true); ) for both entity queries (function "getTotal" and function "deleteSubmissions"). I fixed it this way an it seems to work perfect in my environment.
Needs review
1.0
Code
The patch works fine
Drupal - 10.2.1
webform_submissions_delete - 8.x-1.1