Commit ba4c7892 authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Christian Kuhn
Browse files

[BUGFIX] Properly explode file collection uids as int

The FilesProcessor previously exploded the comma
separated list of file collection uids with trimExplode.

However, the underlying FileCollector method
expects the uids to be of type int. Therefore, the
data processor now uses GU::intExplode(), like
already done in FileContentObject, instead.

Resolves: #93193
Releases: master
Change-Id: Ib0923b1484993793e1dd50be395fac78aa61cda7

Tested-by: core-ci's avatarcore-ci <>
Tested-by: Benni Mack's avatarBenni Mack <>
Tested-by: Jochen's avatarJochen <>
Tested-by: Christian Kuhn's avatarChristian Kuhn <>
Reviewed-by: Benni Mack's avatarBenni Mack <>
Reviewed-by: Jochen's avatarJochen <>
Reviewed-by: Oliver Klee's avatarOliver Klee <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
parent 146220ca
......@@ -92,7 +92,7 @@ class FilesProcessor implements DataProcessorInterface
// collections
$collections = $cObj->stdWrapValue('collections', $processorConfiguration ?? []);
if (!empty($collections)) {
$collections = GeneralUtility::trimExplode(',', (string)$collections, true);
$collections = GeneralUtility::intExplode(',', (string)$collections, true);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment