Bug #105315
closedLatestChangedPagesWidget crashes on deleted content element
100%
Description
Using the new Dasboard widget "LatestChangedPagesWidget" I get loading errors.
A tt_content element is in sys_history, but has been deleted and recycler cleared.
Core: Exception handler (WEB): Uncaught TYPO3 Exception: TYPO3\CMS\Dashboard\Widgets\LatestChangedPagesWidget::getPageOfContentElement(): Return value must be of type int, null returned | TypeError thrown in file /var/www/html/vendor/typo3/cms-dashboard/Classes/Widgets/LatestChangedPagesWidget.php in line 199. Requested URL: https://surfcamp-team6.ddev.site/typo3/ajax/dashboard/widget/content?token=--AnonymizedToken--&widget=latestChangedPages 13:39:52 Core: Error handler (BE): PHP Warning: Trying to access array offset on false in /var/www/html/vendor/typo3/cms-dashboard/Classes/Widgets/LatestChangedPagesWidget.php line 199 13:39:52 Core: Error handler (BE): PHP Warning: Trying to access array offset on false in /var/www/html/vendor/typo3/cms-dashboard/Classes/Widgets/LatestChangedPagesWidget.php line 195
Updated by Gerrit Code Review about 1 month 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/+/86607
Updated by Gerrit Code Review about 1 month 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/+/86607
Updated by Gerrit Code Review about 1 month ago
Patch set 3 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/+/86607
Updated by Gerrit Code Review about 1 month ago
Patch set 4 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/+/86607
Updated by André Buchmann about 1 month ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0864c06d731fc5bfc53458619fc87c306a9d78ae.