#107160TYPO3\CMS\Frontend\DataProcessing\FilesProcessor bug or missing feature
Description
Dokumentation says for:
folders.recursive
Type: string / stdWrap
But in the code it has no stdWrap feature:
$fileCollector->addFilesFromFolders($folders, !empty($processorConfiguration[‘folders.’][‘recursive’]));
Reviews 4
Related issues 1
History 57
-
Georg Ringer commented and changed status
NewNeeds Feedback 08/06/25, 09:35 -
Matthias Kappenberg commented 08/06/25, 12:57
I think a stdWrap option would be useful.
I am currently trying to transfer the “recursive” setting via “FlexForm.”
This concerns downloads or image galleries, which are generated from folders or folder structures,
whereby the editor can specify the depth, similar to a “root” page with a recursive option.recursive.data = flexform: pi_flexform:YOUR_FIELD
or via field… however…
should be possible.
A hardcoded depth/recursive value is… not helpy.Some simple TypoScript.
Attempt: get files by field, collection, folders(recursive)1234 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor 1234 { references { table = WHATEVER fieldName = WHATEVER } collections.data = ... approved, has stdWrap :-) folders { # optional :: if.isTrue.data = ... approved, has stdWrap :-) data = flexform: pi_flexform: ... approved, has stdWrap :-) #recursive.data = flexform: pi_flexform: ... NOT WORKING, can not be set, use PHP Helper/extract processor for this line? } # optional :: sorting.data = flexform: pi_flexform: ... approved, has stdWrap :-) # optional :: sorting.direction.data = flexform: pi_flexform: ... approved, has stdWrap :-) as = WHATEVER }Please do not change the documentation, change the code :-)
-
Gerrit Code Review pushed patch set 1 for main to change 92703 status
Needs FeedbackUnder Review 02/06/26, 08:52 -
Gerrit Code Review pushed patch set 1 for 13.4 to change 92827 02/12/26, 18:46
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % 02/12/26, 19:00Applied in changeset commit:9c6df426f6ec4cd8c57ab1369b1dda3a55675c06.
-
Vincent Blanchès changed Related to #109108 02/26/26, 12:59
-
Benni Mack changed status
ResolvedClosed 03/31/26, 09:00
hey!
thanks for creating the issue! I created an issue for the doc team at https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-Typoscript/issues/1596
do you really need stdwrap? To be honest I see less and less need for that