Review main Ready for review

97659[BUGFIX] Redirect file list commands instead of rendering the result

Simon Schaufelberger CR 0 V 0 Normal +59 −0 updated 11/14/26, 17:46

Commit message

Deleting resources with the multi record selection submits the file
list form with POST, and the list was rendered as the result of that
POST request. Reloading the document, as done when the "new folder"
or "new file" modal is closed, sent the delete command again and the
browser asked the user to resubmit the request.

Answer processed commands with a 303 redirect to the list instead
(POST/Redirect/GET). The list is a GET document again, so reloading
it does not repeat the command. Folder, current page and search term
are kept.

Deleting a resource from the context menu already behaves this way:
it navigates to the file commit route, which redirects to the list.

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 2
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/59/97659/2 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/59/97659/2 && 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 7

Issues 1

Files 2

Review log 24

  1. Simon Schaufelberger uploaded patch set 1 11/14/26, 17:30

  2. core-ci voted on patch set 1 V +1 11/14/26, 17:38 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114479

  3. Simon Schaufelberger rebased onto patch set 2 V +1 11/14/26, 17:40

  4. core-ci voted on patch set 2 V +1 11/14/26, 17:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114480