Issue Bug Closed

#109965SubSchema undefined in TcaSchema when no type define on a TCA table (type = 1)

Maxime Lafontaine 06/02/26, 15:49 updated 08/11/26, 08:50

Description

When using the search wizard in “group” fields, tables that define a `‘types’ => [‘1’ => [‘showitems’ => ‘…’]]` log an error, which prevents the wizard from working. It happens with `sys_category`.

```
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1661617062: The sub schema “1” is not defined for the TCA schema “sys_category”. | TYPO3\CMS\Core\Schema\Exception\UndefinedSchemaException thrown in file /app/src/vendor/typo3/cms-core/Classes/Schema/TcaSchema.php in line 241. Requested URL: http://mysite.com/typo3/ajax/wizard/suggest/search?token=—AnonymizedToken—98a3ea8656aef37e2594f318
```

**Steps to reproduce:**
1. Edit a category.
2. In the “Options” tab, try to use the search wizard in the `single_pid` field. It doesn’t work, and an error appears in the log.

Reviews 2