Project

General

Profile

Actions

Bug #93193

closed

FilesProcessor interprets collections as comma separated strings

Added by Lina Wolf almost 4 years ago. Updated about 2 years ago.

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

Also available in: Atom PDF