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

History 23

  1. Gerrit Code Review pushed patch set 1 for master to change 72204 status New Under Review 11/17/21, 11:48

  2. Oliver Bartsch commented and changed status Under Review Resolved done 0 % 100 % 11/17/21, 19:15

    Applied in changeset commit:ba4c78922cfdaf7f08d36c5fcbefe8ef0946a8f8.

  3. Benni Mack changed status Resolved Closed 10/04/22, 14:12