#93533No pseudo-site found in root line of page <sys_category.uid> on sys_category edit
Description
(1/1) #1534710048 TYPO3\CMS\Core\Exception\SiteNotFoundException No pseudo-site found in root line of page 9999
Tested: TYPO3 9.5.24
Reproduce:
- create a sys_category where sys_category.uid does not exist in pages.uid (you can e.g. edit the record in the database and set uid to 9999 or simular)
- now got to the BE List module and edit this sys_category
1. why is this checked at all?
2. if, it should be checked against sys_category.pid
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Files 1
History 7
-
Anonymous commented 02/17/21, 13:37
-
Anonymous changed description 02/17/21, 13:39
-
Anonymous changed attached stacktrace.txt 02/17/21, 13:56
-
Jonas Eberle commented 02/17/21, 14:26
I can confirm.
It happens while evaluating a displayCond for sys_category.slug. Core does not add that field – in my case it was added by EXT:news.
In EXT:news/Configuration/TCA/Overrides/sys_category.php:
‘displayCond’ => ‘USER:’ . \TYPO3\CMS\Core\Compatibility\PseudoSiteTcaDisplayCondition::class . ‘->isInPseudoSite:pages:false’,It seems to have been fixed with https://github.com/georgringer/news/commit/20e9866807616fa1ca55a2c43a516a29705ffca9 and is released with EXT:news v8.5.2.
Removing that condition fixes it for me, too.
Funnily I’ve seen that error several times in the log over the last years. Happy it’s gone now :)
-
Anonymous commented 02/17/21, 14:31
Right – confirm that its related to news.
nice so we can update news to get rid of that error. -
Jonas Eberle changed Duplicates #92331 02/17/21, 14:37
-
Jonas Eberle changed status
NewClosed 02/17/21, 14:42
Just checked – its not reproducible in v10