Project

General

Profile

Actions

Bug #56511

closed

/typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php: func_delete

Added by Rico Sonntag about 10 years ago. Updated over 5 years ago.

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

100%

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

Description

Method func_delete catches an InsufficientFileAccessPermissionsException instead of an expected InsufficientFolderAccessPermissionsException.

Actions #1

Updated by Gerrit Code Review about 10 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/28019

Actions #2

Updated by Christian Weiske about 10 years ago

Steps to reproduce:
  1. Enter file list
  2. Create folder
  3. Folder is shown as RW in file list, delete icon is visible
  4. On your shell, make the folder readonly ($ chmod -w foldername)
  5. In TYPO3, click the delete icon and confirm
  6. An uncaught exception will occur

With the patch, the exception is caught and a proper error message is shown.

Actions #3

Updated by Rico Sonntag about 10 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF