Bug #53802
closedCan not copy files between storages
100%
Description
When you try to copy a file from storage 0 to storage 1 with 'ResourceStorage::copyFile()' you get the folowing exception:
Uncaught TYPO3 Exception #1319455097: Error while fetching permissions for ... RuntimeException thrown in file typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php in line 1173
ResourceStorage::checkFileActionPermission() uses always the current storage and not the storage of the file itself.
Updated by Markus Klein about 11 years ago
- Priority changed from Should have to Must have
Updated by Gerrit Code Review about 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25553
Updated by Frans Saris about 11 years ago
How to test:
- create a second storage you can access in the filemodule (just a new storage that also uses the local driver)
- try to copy/move a file or folder from one storage to the other
Without the patch this will fail in a file permission error
With the patch moving/copying of files works. Moving/copying of folders will give a message that this isn't implemented yet.
Updated by Gerrit Code Review about 11 years ago
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25617
Updated by Gerrit Code Review about 11 years ago
Patch set 1 for branch TYPO3_6-0 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25618
Updated by Frans Saris about 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9e2a0a1ca1c56a86e992445f60366f5a69ab157d.