Issue Bug Resolved

#111276Records module: "Expand table" of page translations fails with UndefinedSchemaException "pages_translated"

Hamada Saidi 10/29/26, 11:13 updated 10/30/26, 22:10

Description

Problem

In the Records module, expanding the “Page Translation” section of a page (single table view, table=pages_translated) results in an exception:

#1661540376 TYPO3\CMS\Core\Schema\Exception\UndefinedSchemaException
No TCA schema exists for the name "pages_translated".

Steps to reproduce

  1. Have a site with enough languages that a page has more translations than fit into the multi table view (e.g. 20+ page translations), so the “Expand table” button is shown below the “Page Translation” section
  2. Open the Records module on that page
  3. Click “Expand table” below “Page Translation” (URL contains table=pages_translated)

Expected

The single table view of the page translations is shown, so editors can check and toggle the visibility of all language versions of the page.

Actual

Exception (see above). Stack trace (shortened):

TYPO3\CMS\Core\Schema\TcaSchemaFactory->get()
  in typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php (isEditable())
TYPO3\CMS\Backend\RecordList\DatabaseRecordList->createActionButtonNewRecord()
  in typo3/sysext/backend/Classes/Controller/RecordListController.php (getDocHeaderButtons())

Cause

DatabaseRecordList::start() resolves the pseudo table name pages_translated to pages (and sets showOnlyTranslatedRecords). RecordListController however keeps the raw request value in $this->table and passes it on in getDocHeaderButtons():

} elseif (($createNewRecordButton = $dbList->createActionButtonNewRecord($this->table)) !== null) {

createActionButtonNewRecord() → isEditable() → $this->tcaSchemaFactory->get('pages_translated') throws.

The same code is still present in the 14.3 branch and in main.

Possible fix

Resolve pages_translated to pages in the controller as well (or let createActionButtonNewRecord() / isEditable() handle the pseudo table name). As a workaround we XCLASS DatabaseRecordList and map the name in createActionButtonNewRecord():

public function createActionButtonNewRecord(string $table): ?ButtonInterface
{
    if ($table === 'pages_translated') {
        $table = 'pages';
    }
    return parent::createActionButtonNewRecord($table);
}

With this, the expanded page translation list renders correctly.

Environment

  • TYPO3 14.3.10 (composer mode)
  • PHP 8.4

Reviews 2

History 14

  1. Oliver Bartsch commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-10-30T22:10:12+00:00" > 10/30/26, 22:10 </span>

    Applied in changeset commit:8d801d2c90e05ea8873899951d969c8e90c2c5cb.