Bug #90598
closedInitialize emulated PageLayoutView before calling hooks
100%
Description
With the new Fluid based PageLayoutView, the preview rendering hook of ext:form fails:
htmlspecialchars() expects parameter 1 to be string, null given
in /var/www/html/typo3/sysext/form/Classes/Hooks/FormPagePreviewRenderer.php line 63
array &$row
) {
if ($row['CType'] === 'form_formframework') {
$contentType = $parentObject->CType_labels[$row['CType']];
$itemContent .= $parentObject->linkEditContent('<strong>' . htmlspecialchars($contentType) . '</strong>', $row) . '<br />';
$flexFormData = GeneralUtility::makeInstance(FlexFormService::class)
->convertFlexFormContentToArray($row['pi_flexform']);
Updated by Gerrit Code Review about 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63503
Updated by Daniel Goerz about 5 years ago
- Related to Feature #78450: Introduce PreviewRenderer pattern added
Updated by Gerrit Code Review about 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63503
Updated by Gerrit Code Review about 5 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63503
Updated by Gerrit Code Review about 5 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63503
Updated by Christian Eßl about 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 172cf1e496fffb6398675519ff5294b1868b30ef.
Updated by Georg Ringer about 5 years ago
- Related to Bug #90556: TYPO3 Exception: htmlspecialchars() expects parameter 1 to be string, null given added
Updated by Georg Ringer almost 5 years ago
- Related to Bug #90828: Unable to edit page with form added
Updated by Christian Eßl almost 5 years ago
- Related to Bug #90863: htmlspecialchars() expects parameter 1 to be string, null given added
Updated by Benni Mack almost 5 years ago
- Status changed from Resolved to Closed