Skip to content

Commit

Permalink
[BUGFIX] Proper ext:form flex form finisher overrides
Browse files Browse the repository at this point in the history
Fix a happy little regex to deal with "TCEforms"
removal of #97126. This should fix finisher override
FormEngine rendering.

Resolves: #101050
Related: #97126
Releases: main, 12.4
Change-Id: Ia8d893c3f3b31f7af83b3d9f2ae533b3e557f5a6
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80423
Reviewed-by: Stefan B�rk <[email protected]>
Tested-by: Stefan B�rk <[email protected]>
Tested-by: Jan Helke <[email protected]>
Tested-by: core-ci <[email protected]>
Reviewed-by: Jan Helke <[email protected]>
  • Loading branch information
lolli42 authored and sbuerk committed Aug 6, 2023
1 parent 8bdafa7 commit 516e7e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/EventListener/DataStructureIdentifierListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ protected function getAdditionalFinisherSheets(string $persistenceIdentifier, ar
GeneralUtility::makeInstance(
ArrayProcessing::class,
'convertToFlexFormSheets',
// Either process leaf form field configuration not within a FlexForm section or FlexForm section
'^(.*)(?:\.config\.type|\.section)$',
// Parse section container single elements, top level elements and section containers.
'^([^\.]*)(?:el\._arrayContainer\.el\..*\.config\.type|\.config\.type|\.section)$',
GeneralUtility::makeInstance(FinisherOptionGenerator::class, $converterDto)
)
);
Expand Down

0 comments on commit 516e7e2

Please sign in to comment.