[BUGFIX] FAL: Do not paste a folder into itself 48/36548/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Thu, 29 Jan 2015 21:03:57 +0000 (22:03 +0100)
committerPhilipp Gampe <philipp.gampe@typo3.org>
Sun, 1 Feb 2015 00:03:21 +0000 (01:03 +0100)
commitb6d5f1362119558a48b5a540535ce9def2ae3a82
treecc86e3dfb08d39dc6d3f21848f1e784f870deb1c
parentaba4e96bd14589ac781dbce24b5c23f58573113d
[BUGFIX] FAL: Do not paste a folder into itself

If a folder is selected in fileadmin, which is already in
the clipboard, the paste icon is not shown to prevent
a endlessly nested folder structure.

Also the correct exception is thrown in ResourceStorage
if it occurs anyway.

Resolves: #51670
Releases: master, 6.2
Change-Id: I996cb8eede1371e479f756f18e1ede03f65950cb
Reviewed-on: http://review.typo3.org/36548
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php
typo3/sysext/filelist/Classes/FileList.php