Bug #95867

System News content required (Document Fragment is empty)

Added by Daniela Schmidt 9 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Backend API
Start date:
2021-11-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
sys_news, sysext, HtmlWorker.php
Complexity:
Is Regression:
Sprint Focus:

Description

As soon as the content field in the system message is empty, you receive a PHP warning after logging out.
Frontend and install tool are still accessible, only the backend is not.
If the value in the database is no longer NULL, then access to the backend login is possible again.

tested:
10.4.21 > all right
11.5.1 and 11.5.2 > PHP Warning

table: sys_news
table column: content

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception 
PHP Warning: DOMNode::appendChild(): Document Fragment is empty in /var/www/html/typo3_src-11.5.2/typo3/sysext/frontend/Classes/Html/HtmlWorker.php line 180

Files

Screenshot-PHPWarning.png (115 KB) Screenshot-PHPWarning.png Daniela Schmidt, 2021-11-04 08:43

Related issues

Related to TYPO3 Core - Feature #95176: Introduce <f:transform.html> view-helperClosed2021-09-10

Actions
#1

Updated by Gerrit Code Review 9 months 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/+/72210

#2

Updated by Oliver Hader 9 months ago

  • Related to Feature #95176: Introduce <f:transform.html> view-helper added
#3

Updated by Oliver Hader 9 months ago

  • Target version set to Candidate for patchlevel
#4

Updated by Oliver Hader 9 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF