[BUGFIX] Fix moving/copying files and folders between storages 53/25553/2
authorFrans Saris <franssaris@gmail.com>
Wed, 20 Nov 2013 22:22:21 +0000 (23:22 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Thu, 21 Nov 2013 16:07:08 +0000 (17:07 +0100)
commit932ac71016882ffde2b48ae4c7462a2ab8e73ea4
treef2e930b41c414417fdf9a6782e8c547ed86721e1
parent95e8e33069b260becd7d96d271717aa9e1f14fb1
[BUGFIX] Fix moving/copying files and folders between storages

When a file or folder is moved between 2 storages the target
storages is asked for the filepermissions of the source
file/folder. This breaks because current storages + driver
can not access/find source.

This patch makes sure that on places where a source can be
from an other storage the source storage is used for the
permission check.

Releases: 6.0, 6.1, 6.2
Resolves: #53802
Change-Id: Ib2c1443fad295a3b7eeeb01ab38359fcdf6849ab
Reviewed-on: https://review.typo3.org/25553
Reviewed-by: Fabien Udriot
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/core/Classes/Resource/ResourceStorage.php