#105315LatestChangedPagesWidget crashes on deleted content element
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
Reviews 1
History 26
-
Gerrit Code Review pushed patch set 1 for main to change 86607 status
NewUnder Review 10/15/24, 14:07 -
Gerrit Code Review pushed patch set 2 for main to change 86607 10/15/24, 19:57
-
Gerrit Code Review pushed patch set 3 for main to change 86607 10/16/24, 11:10
-
Gerrit Code Review pushed patch set 4 for main to change 86607 10/17/24, 07:58
-
André Buchmann commented and changed status
Under ReviewResolved done0 %100 % 10/17/24, 08:10 -
Benni Mack changed status
ResolvedClosed 08/12/25, 14:36
Applied in changeset commit:0864c06d731fc5bfc53458619fc87c306a9d78ae.