Skip to content
Snippets Groups Projects
Commit 8327414c authored by Daniel Hoffmann's avatar Daniel Hoffmann Committed by Christian Kuhn
Browse files

[BUGFIX] Show correct old name when renaming files/folders

When a file or folder is rename()'ed, the name property
is updated immediately. The file list controller handling
a rename thus needs to park the old name in a variable
to render the correct 'before' name.

The patch fixes this and cleans up the class a bit.

Resolves: #102478
Releases: main, 12.4
Change-Id: I438fa351febc821242c401cb208e644617f2f090
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81891


Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 1e8e2cf9
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment