#111430RecordFactory does not resolve record types defined in a foreign table
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
-
Gerrit Code Review pushed patch set 1 for main to change 97599 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-13T09:15:37+00:00" > 11/13/26, 09:15 </span> -
Gerrit Code Review pushed patch set 2 for main to change 97599 <span data-processor="relativetime" data-value="2026-11-13T10:09:40+00:00" > 11/13/26, 10:09 </span>