flux
flux copied to clipboard
All plugins flexforms do not show up in backend when editing a plugin
TYPO3 10.4.26 FLUX 9.5.0
Hello,
Since I pulled the commit dev:development#ae4142d, Flexforms in all plugins are not displayed. No error log, just what the screenshot shows :
Resolved by downgrading to fluidtypo3/flux:dev-development#3cc50474d8504bbbf2b043410b04110882332b69
Thank you
The error is caused by this commit: #ae4142d4c2a7fd9ecacfd2a20ee8ecf4aa707321
I confirm the problema and that worng commit is #ae4142d4c2a7fd9ecacfd2a20ee8ecf4aa707321 .
The problem is in the file: Classes/Integration/HookSubscribers/DynamicFlexForm.php, if you restore only this file all works.
If in te file Classes/Integration/HookSubscribers/DynamicFlexForm.php you replace
return static::DUMMY_SOURCE;
with
return[]
it seems to work.
The only thing not correct is that in the flux contents in the "ContentType options" appears also "sDEF".
The correct code would be
private const DUMMY_SOURCE = ['sheets' => ['sDEF' => ['ROOT' => ['type' => 'array', 'el' => []]]]];
sDEF not lDEF
Same in Classes/Provider/AbstractProvider.php:776. should be:
$defaultDataStructure = ['sheets' => ['sDEF' => ['ROOT' => ['type' => 'array', 'el' => ['xmlTitle' => ['TCEforms' => ['label' => 'The Title:', 'config' => ['type' => 'input', 'size' => '48']]]]]]]];
This check is terribly verbose, though.
Hello, this seems to be fixed with https://github.com/FluidTYPO3/flux/commit/31a4c1633ec520d373e394bbf2617566fe89a21a 🎉
Hi @kraemer-igroup,
Thank you very much Andi, I confirm that it's OK for me when reverting to fluidtypo3/flux:dev-development (9.6.1)
Thomas
Closing as fixed - thanks for reporting and describing the issue!
Thank you @NamelessCoder ^^