Skip to content
Snippets Groups Projects
Commit 66b69dcd authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Check for children in FormEngine container

When resolving the first and last inline
elements in the `FilesControlContainer`
and `InlineControlContainer`, it is now
properly checked, whether any children
exist at all, preventing possible type
errors.

Additionally a fallback is added to
prevent further warnings in the containers
while trying to iterate over the children.

Resolves: #103646
Releases: main, 12.4
Change-Id: I6f46ee5dc6d5553f3bd43c12447ef2390e1f941f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83895


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
parent c065bbb6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment