#67556System news cannot render RTE content
Description
System news records (shown below the backend login form) provide an RTE for writing content.
However, due to several problems the content is not rendered correctly, if at all.
E.g links generated with the link wizard are not display at all.
This is a two-part problem:
- HtmlViewHelper is not initializing enough of an FE to provide working cObj functionality.
- Content objects are only registered in FE mode, thus no cObj (TEXT etc.) can ever work in a non-FE mode.
Interestingly FrontendSimulatorUtility::simulateFrontendEnvironment() exists for this specific purpose, but is not used here nor would it solve the problem.
Relates to https://forge.typo3.org/issues/64386
Should solve https://forge.typo3.org/issues/66855
Reviews 6
- main 71020[BUGFIX] Transform internal URIs in backend user interface
- main 71021Revert "[BUGFIX] Allow links in sys_news"
- main 70740[BUGFIX] Allow links in sys_news
- main 48580[!!!][FEATURE] Frontend Simulation ViewHelper and Utility improvements
- main 52070[BUGFIX] Use f:format.raw for formatting system news
- main 40352[BUGFIX] System news cannot render RTE content
Related issues 10
- Bug #33083Images in login news not working
- Bug #58702f:uri.page Viewhelper creates broken links on cli
- Feature #64386Allow cObject registration during runtime
- Bug #66855Format/HtmlViewHelper don't render Links in TYPO3_MODE = BE
- Bug #68188ContentObject registration only available in TYPO3_mode == FE
- Story #73183Removal of frontend simulation in all ViewHelpers
- Bug #76305TYPO3 Backend uses f:format.html
- Bug #80315Use f:format.raw for formatting system news
- Bug #95158HtmlSanitizer accidentally enforced again due to sys_note changes
- Bug #96535System news (backend login messages) don't render links anymore