Review main Work in progress

97848[BUGFIX] Handle removed uploads when an older form page is submitted

Tung Ngo CR 0 V 0 Normal +213 −22 updated 11/19/26, 16:02

Commit message

If an uploaded file is removed while an older page of a multi-step
form is still open, e.g. via the "remove" option of an upload field,
the DeleteUploads finisher or the uploads cleanup command, submitting
that page again failed with an uncaught FileDoesNotExistException.

The serialized form state and the submitted resource pointer still
reference the removed file. A reference to a missing file is now
dropped from the form state, the resource pointer is discarded and
the field is validated as empty.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/48/97848/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/48/97848/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Merge conflicts 8

Issues 1

Files 6

Review log 12

  1. Tung Ngo uploaded patch set 1 11/19/26, 15:54

  2. core-ci voted on patch set 1 V +1 11/19/26, 16:02 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115024