Actions
Bug #93193
closedFilesProcessor interprets collections as comma separated strings
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-12-31
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
They are run through
$collections = GeneralUtility::trimExplode(',', (string)$collections, true);
// now we have an array ['collection1', 'collection with any string name']
then send to addFilesFromFileCollections, which expects an array of uids
without testing.
Here each value of the array gets send to addFilesFromFileCollection which
expects an int.
Actions