Bug #97095
closedUndefined array key "class" in Html/HtmlParser
100%
Description
System: php 8.1 and TYPO3 main + 11.5.7
Use custom lib.parseFunc_RTE:
# Add default class to ul list lib.parseFunc_RTE.externalBlocks.ul.stdWrap{ HTMLparser = 1 HTMLparser { tags.ul.fixAttrib.class { always = 1 list = ce-bullets } keepNonMatchedTags = 1 } }
Error in FE when rendering an RTE Field with a ul/li list
(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Undefined array key "class" in /var/www/html/public/typo3/sysext/core/Classes/Html/HtmlParser.php line 532
Updated by Gerrit Code Review about 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73800
Updated by Gerrit Code Review about 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73800
Updated by André Buchmann about 2 years ago
For testing, enable errors on warnings!
LocalConfiguration:
displayErrors = 1
exceptionalErrors = 12290
Updated by Gerrit Code Review about 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73780
Updated by Anonymous about 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 69470d9f21fc7956b36db26d5d8d3b6c44d6e079.