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 #1

Updated by Gerrit Code Review about 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72204

Actions #2

Updated by Oliver Bartsch about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF