Attachments remain on the server when deleting a webform

Created on 13 August 2024, 5 months ago
Updated 14 August 2024, 5 months ago

Problem/Motivation

When deleting a webform which has 1000+ submissions with attachments, not all attachments are deleted. This is probable because of a memory limit or a PHP timeout.
The webform is deleted, so there is no way to properly delete the remaining attachments.

Steps to reproduce

Create we webform with one or more file fields.

Add 1000+ submissions with attachments.

Delete the webform.

Proposed resolution

Only delete the webform and the related submission when attachments are deleted.

🐛 Bug report
Status

Active

Version

6.3

Component

Code

Created by

🇧🇪Belgium jurgenr

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

Comments & Activities

Production build 0.71.5 2024