flux icon indicating copy to clipboard operation
flux copied to clipboard

All plugins flexforms do not show up in backend when editing a plugin

Open itekne opened this issue 3 years ago • 6 comments

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 :

Capture d’écran 2022-03-31 à 18 00 14

Resolved by downgrading to fluidtypo3/flux:dev-development#3cc50474d8504bbbf2b043410b04110882332b69

Thank you

itekne avatar Apr 01 '22 04:04 itekne

The error is caused by this commit: #ae4142d4c2a7fd9ecacfd2a20ee8ecf4aa707321

fiedomedia avatar Apr 01 '22 08:04 fiedomedia

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.

supercaccia avatar Apr 01 '22 09:04 supercaccia

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".

sdef

supercaccia avatar Apr 01 '22 13:04 supercaccia

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.

mrk131324 avatar Apr 05 '22 14:04 mrk131324

Hello, this seems to be fixed with https://github.com/FluidTYPO3/flux/commit/31a4c1633ec520d373e394bbf2617566fe89a21a 🎉

kraemer-igroup avatar May 04 '22 09:05 kraemer-igroup

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

itekne avatar May 04 '22 23:05 itekne

Closing as fixed - thanks for reporting and describing the issue!

NamelessCoder avatar Nov 07 '22 14:11 NamelessCoder

Thank you @NamelessCoder ^^

itekne avatar Nov 14 '22 03:11 itekne