Project

General

Profile

Actions

Feature #82342

closed

InaccessibleFolder exception needs filename

Added by Franz Holzinger about 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Could have
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2017-09-07
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

If a file is not found or a folder is not accessible, then a InsufficientFolderReadPermissionsException is thrown and the message "You are trying to use a method on an inaccessible folder." is logged. However the name of the file or folder is missing. It is a lot of work to discover the filename.

TYPO3\CMS\Core\Resource\Exception\InsufficientFolderReadPermissionsException
message You are trying to use a method on an inaccessible folder.

file    /home/path/public_html/typo3_src-8.7.4/typo3/sysext/core/Classes/Resource/InaccessibleFolder.php
line    242
function    throwInaccessibleException
class   TYPO3\CMS\Core\Resource\InaccessibleFolder

file    /home/path/public_html/typo3_src-8.7.4/typo3/sysext/core/Classes/Resource/ResourceStorage.php
line    2913
function    hasFolder
class   TYPO3\CMS\Core\Resource\InaccessibleFolder

The name of the file should also be given with the exception.

See
https://stackoverflow.com/questions/4049869/php-exceptions-extra-parameters

Actions #1

Updated by Riccardo De Contardi almost 7 years ago

  • Category set to File Abstraction Layer (FAL)
Actions #2

Updated by Riccardo De Contardi almost 7 years ago

  • Category deleted (File Abstraction Layer (FAL))
Actions #3

Updated by Mathias Schreiber almost 7 years ago

  • Category set to File Abstraction Layer (FAL)
  • Status changed from New to Accepted
  • Assignee set to Mathias Schreiber
Actions #4

Updated by Gerrit Code Review almost 7 years ago

  • Status changed from Accepted 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/55541

Actions #5

Updated by Gerrit Code Review almost 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55541

Actions #6

Updated by Gerrit Code Review almost 7 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55553

Actions #7

Updated by Anonymous almost 7 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF