Bug #61463
closed_processed_ folder not outside file storage root possible
100%
Description
I have a file storage for a readonly filemount.
as it is not possible to set the processed folder outside the root of a file storage1 I need to insert another local folder to enable a local (and writable) processed folder2.
as the files from that filemount are accessed from another server this additional folder is superflous.
[1] all entries of .. inside the path to the processed-folder result in an fatal error:
#1320286857: File ../_processed_ is not valid (".." and "//" is not allowed in path). (More information)
[2] as the filemount is readonly there is no possibility to create the processed folder inside the root directory of the file storage (and also no processed files):
PHP Warning PHP Warning: rename(/var/www/typo3temp/preview_nFDQil.jpg,/var/www/imgservermount/_processed_/preview_aeg-182232_0_0a048ffd3d.jpg): No such file or directory in /var/www/typo3_src-6.1.10/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php line 622
which results in errors for each 'preview-image' (as there is no preview image):
exec_INSERTquery caller TYPO3\CMS\Core\Database\DatabaseConnection::exec_INSERTquery ERROR Column 'originalfilesha1' cannot be null lastBuiltQuery INSERT INTO sys_file_processedfile (width,height,checksum,identifier,name,storage,task_type,configuration,original,originalfilesha1,tstamp,crdate) VALUES ('64','64','0a048ffd3d','/_processed_/preview_aeg-182232_0_0a048ffd3d.jpg','preview_aeg-182232_0_0a048ffd3d.jpg','6','Image.Preview','a:0:{}','89881',NULL,'1410248566','1410248566') debug_backtrace require(o3project/typo3_src-6.1.10/typo3/sysext/filelist/mod1/index.php),o3project/typo3_src-6.1.10/typo3/mod.php#41 // TYPO3\CMS\Filelist\Controller\FileListController->main#46 // TYPO3\CMS\Filelist\FileList->generateList#290 // TYPO3\CMS\Filelist\FileList->getTable#199 // TYPO3\CMS\Filelist\FileList->formatFileList#353 // TYPO3\CMS\Core\Resource\File->process#622 // TYPO3\CMS\Core\Resource\ResourceStorage->processFile#293 // TYPO3\CMS\Core\Resource\Service\FileProcessingService->processFile#1150 // TYPO3\CMS\Core\Resource\Service\FileProcessingService->process#103 // TYPO3\CMS\Core\Resource\ProcessedFileRepository->add#140 // TYPO3\CMS\Core\Database\DatabaseConnection->exec_INSERTquery#123 // TYPO3\CMS\Core\Database\DatabaseConnection->debug#198
Updated by Frans Saris about 10 years ago
- Category set to File Abstraction Layer (FAL)
- Complexity set to hard
This is more or less a missing feature.
Maybe we van somehow tell the driver to use typo3temp or some other local folder to store the processed files. But I'm not sure yet about the impact of that.
Updated by Frans Saris almost 10 years ago
- TYPO3 Version changed from 6.1 to 6.2
- Sprint Focus set to On Location Sprint
Helmut started a WIP that also would fix this https://review.typo3.org/#/c/32921/
Updated by Frans Saris almost 10 years ago
- Status changed from New to In Progress
- Assignee set to Frans Saris
Updated by Gerrit Code Review almost 10 years ago
- Status changed from In Progress to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32921
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32921
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32921
Updated by Gerrit Code Review over 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32921
Updated by Gerrit Code Review over 9 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32921
Updated by Gerrit Code Review over 9 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32921
Updated by Gerrit Code Review over 9 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32921
Updated by Gerrit Code Review over 9 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32921
Updated by Gerrit Code Review over 9 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32921
Updated by Gerrit Code Review over 9 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37584
Updated by Helmut Hummel over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fab21d38386f92349a8dc9aeb953219953d14945.
Updated by Gerrit Code Review over 9 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37584
Updated by Helmut Hummel over 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset fd0f56b20d5c4fa368d00387786409f2d5011191.
Updated by Anja Leichsenring almost 9 years ago
- Sprint Focus deleted (
On Location Sprint)