powermail
powermail copied to clipboard
Keep uploaded files on validation error response
In case a Powermail form with a file
field throws a server sided validation error on submit (for example in the E-Mail or Captcha field), the previous appended files are lost in the response, other field values are available (as expected).
Without an validation error, the files are stored and showed in the file field template.
What is the intentional behvaiour for files in this case?
On the technical side, the FormController::initializeCreateAction()
is executed and stops before the FormController::createAction()
=> UploadedDataProcessor
run.
Discovered under
TYPO3 v10.4.37 Powermail v8.4.2 PHP v7.4.11