Issue Bug Under Review

#111430RecordFactory does not resolve record types defined in a foreign table

Benni Mack 11/13/26, 09:07 updated 11/13/26, 10:09

Description

RecordFactory::createRawRecord() ignores TCA types that point to a field of a related record, such as “file:type” (sys_file_metadata) and “uid_local:type” (sys_file_reference).

Records of these tables therefore get no record type. Consumers such as the VisibleSchemaFieldsCollector fall back to all columns of the table instead of the fields of the actual type, e.g. the element information of a video file lists the image related metadata fields “width” and “height” (see #110150).

Expected: the record type is resolved from the related record, so getRecordType() returns e.g. “2” and the full type is “sys_file_metadata.2”.

Reviews 2

History 02