Bug #56494

FAL readonly: Directory copying results in BE exception

Added by Rico Sonntag almost 6 years ago. Updated about 1 year ago.

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

100%

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

Description

Trying to copy a readonly directory to another directory results in an backend exception displayed. This is caused because ExtendedFileUtility.php just catches InsufficientFolderAccessPermissionsException but InsufficientFolderReadPermissionsException and InsufficientFolderWritePermissionsException are not derived from it.

Associated revisions

Revision e13918f6 (diff)
Added by Rico Sonntag almost 6 years ago

[BUGFIX] FAL readonly: Directory copying results in BE exception

Changed parent class of folder permission exceptions to
InsufficientFolderAccessPermissionsException so excecption
could be catched properly.

Change-Id: I1c85e4c0e4652f1e3394fd58f98d95ea6ca8cc34
Resolves: #56494
Releases: 6.2
Reviewed-on: https://review.typo3.org/27994
Reviewed-by: Christian Weiske
Tested-by: Christian Weiske
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters

History

#1 Updated by Gerrit Code Review almost 6 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/27994

#2 Updated by Christian Weiske almost 6 years ago

Steps to reproduce:
  1. Create readonly FAL storage
  2. Copy one folder of the readonly FAL storage into another folder of the readonly FAL storage
  3. An uncaught exception occurs

#3 Updated by Rico Sonntag almost 6 years ago

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

#4 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF