Issue Bug Closed

#93193FilesProcessor interprets collections as comma separated strings

Lina Wolf 12/31/20, 10:01 updated 10/04/22, 14:12

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.

Reviews 1