Bug #94655
Updated by Mathias Brodala over 2 years ago
I've added a slug field to records that have pid=0. The generated slug is always @/@. `/`. The cause for this is a hardcoded check in the @generate@ `generate` function in @TYPO3\CMS\Core\DataHandling\SlugHelper@: `TYPO3\CMS\Core\DataHandling\SlugHelper`: <pre><code class="php"> if ($pid === 0 || (!empty($recordData['is_siteroot']) && $this->tableName === 'pages')) { return '/'; } </code></pre> The check for @pid=0@ pid=0 makes sense for pages, but not for other record types. I've checked this in TYPO3 10 and 11.