Project

General

Profile

Actions

Bug #103110

closed

FORM: Delete upload finisher wont delete files in storage

Added by Rene Tobias 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Start date:
2024-02-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hey,

maybe i am doing something wrong or i dont understand the documentation for "Delete upload finisher" but this finisher wont delete files from storage after form is submited. I dont get any error.

TYPO3 12.4.10

Actions #1

Updated by Chris Müller 2 months ago · Edited

  • Status changed from New to Needs Feedback

Do you have other finishers activated? For example, the redirect finisher? If yes, the redirect finisher has to be executed at last of all finishers.

Actions #2

Updated by Rene Tobias 2 months ago

Hey, you are right, i had Delete finisher at the end after the redirect finisher.

It will be nice to update the documentation for that: https://docs.typo3.org/c/typo3/cms-form/main/en-us/E/Finishers/Index.html?highlight=delete#delete-uploads

Can you do it? Or must i create a pull request on git?

Actions #3

Updated by Georg Ringer about 1 month ago

  • Status changed from Needs Feedback to Closed

closing this.

imo it is fine as it states for the redirect finisher

This finisher stops the execution of all subsequent finishers in order to perform the redirect. Therefore, this finisher should always be the last finisher to be executed.

it doesn't make sense to write at all other finishers that it must be placed before the redirect finisher.

Actions

Also available in: Atom PDF