Feature #82342
closedInaccessibleFolder exception needs filename
100%
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
Updated by Riccardo De Contardi almost 7 years ago
- Category set to File Abstraction Layer (FAL)
Updated by Riccardo De Contardi almost 7 years ago
- Category deleted (
File Abstraction Layer (FAL))
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
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
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
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
Updated by Anonymous almost 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 76aa66dd73c0772ac0c4710b4b0820121fe9b1dc.