Partial deleting with date range not possible for Drupal 10

Created on 25 October 2023, about 1 year ago

Problem/Motivation

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).

Steps to reproduce

Try to delete submissions with date range specified in Drupal 10 and latest Webform Release Candidate version.

Proposed resolution

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.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany Toni27

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024