[BUGFIX] Allow multiple Skill(Set) uids in CE

This commit is contained in:
Markus Klein 2023-07-06 18:56:54 +02:00
parent be3e3b0362
commit f0572b02af
3 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ class SkillSets implements DataProcessorInterface
$as = $cObj->stdWrapValue('as', $processorConfiguration, 'skillSets'); $as = $cObj->stdWrapValue('as', $processorConfiguration, 'skillSets');
$skillSetIds = GeneralUtility::intExplode( $skillSetIds = GeneralUtility::intExplode(
',', ',',
$cObj->stdWrapValue('skillSets', $processorConfiguration), (string)$cObj->stdWrapValue('skillSets', $processorConfiguration),
true true
); );
$skillSets = []; $skillSets = [];

View file

@ -48,7 +48,7 @@ class Skills implements DataProcessorInterface
$as = $cObj->stdWrapValue('as', $processorConfiguration, 'skills'); $as = $cObj->stdWrapValue('as', $processorConfiguration, 'skills');
$skillIds = GeneralUtility::intExplode( $skillIds = GeneralUtility::intExplode(
',', ',',
$cObj->stdWrapValue('skills', $processorConfiguration), (string)$cObj->stdWrapValue('skills', $processorConfiguration),
true true
); );
$skills = []; $skills = [];

View file

@ -28,7 +28,7 @@
'description' => $languagePath . 'skilldisplay_skillset.description', 'description' => $languagePath . 'skilldisplay_skillset.description',
'config' => [ 'config' => [
'type' => 'input', 'type' => 'input',
'eval' => 'int,required', 'eval' => 'required',
'size' => 10, 'size' => 10,
], ],
], ],