Issue Bug Closed

#82627Add support for t3://folder syntax to FileCollector

Jigal van Hemert 10/01/17, 12:54 updated 10/02/18, 10:55

Description

\TYPO3\CMS\Frontend\Resource\FileCollector::addFilesFromFolder() does not support the t3://folder syntax for the folderIdentifier

This affects both \TYPO3\CMS\Frontend\ContentObject\FilesContentObject and \TYPO3\CMS\Frontend\DataProcessing\FilesProcessor.

The latter can be tested with Dataprocessing in TS:

dataProcessing {
  10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
  10 {
    folders = t3://folder?storage=1&identifier=%2Fpath%2Fto%2Ffolder%2F
    sorting = name
    as = files
  }
...
}

Currently this gives an exception that “t3” is not a valid identifier for a storage.

Reviews 3