Bug #93533
closedNo pseudo-site found in root line of page <sys_category.uid> on sys_category edit
0%
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
Files
Updated by Anonymous almost 4 years ago
Just checked - its not reproducible in v10
Updated by Anonymous almost 4 years ago
- File stacktrace.txt stacktrace.txt added
Updated by Jonas Eberle almost 4 years ago
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 :)
Updated by Anonymous almost 4 years ago
Right - confirm that its related to news.
nice so we can update news to get rid of that error.
Updated by Jonas Eberle almost 4 years ago
- Is duplicate of Bug #92331: No pseudo-site found in root line of page added