#109542NULL value in bodytext breaks "Content/Layout" module
Description
When trying to access a page (in the backend) that contains certain content elements with bodytext = NULL, the following error occurs:
TYPO3\HtmlSanitizer\Sanitizer::sanitize(): Argument #1 ($html) must be of type string, null given, called in path/to/typo3_src-14.2.0/typo3/sysext/backend/Classes/Preview/RecordFieldPreviewProcessor.php on line 128
To reproduce:
1. Create a content element “header” on a page
2. Switch the header’s element type to “regular text element” and close the element.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 2
-
Garvin Hicking changed Duplicates #109407 04/10/26, 12:35
-
Garvin Hicking commented and changed status
NewClosed 04/10/26, 12:35
Thanks for your report. This has been solved with #109407