diff --git a/Classes/Integration/HookSubscribers/DynamicFlexForm.php b/Classes/Integration/HookSubscribers/DynamicFlexForm.php index fdcbdea91..d5c594ae2 100755 --- a/Classes/Integration/HookSubscribers/DynamicFlexForm.php +++ b/Classes/Integration/HookSubscribers/DynamicFlexForm.php @@ -174,8 +174,7 @@ public function parseDataStructureByIdentifierPreProcess(array $identifier) DataStructureProviderInterface::class ); if (count($providers) === 0) { - // No Providers detected - we will cache this response - $this->configurationService->setInCaches([], true, $identifier); + // No Providers detected - return empty data structure (reported as invalid DS in backend) return []; } foreach ($providers as $provider) { @@ -193,7 +192,6 @@ public function parseDataStructureByIdentifierPreProcess(array $identifier) } $dataStructArray = $this->patchTceformsWrapper($dataStructArray); - $this->configurationService->setInCaches($dataStructArray, false, $identifier); return $dataStructArray; }