Project

General

Profile

Actions

Bug #53802

closed

Can not copy files between storages

Added by Frans Saris about 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-11-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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.

Actions #1

Updated by Markus Klein about 11 years ago

  • Priority changed from Should have to Must have
Actions #2

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

Actions #3

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.

Actions #4

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

Actions #5

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

Actions #6

Updated by Frans Saris about 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF