Review 14.3 Merged

93873[BUGFIX] Export full rows minus defaults in impexp

Benjamin Kott CR +2 V +2 Impossible +7183 −7614 updated 04/28/26, 16:41

Commit message

The export filter reduced records to the fields listed in a
sub-schema's showitem, silently dropping columns that downstream code
reads directly — hidden, language pointers and the record-type among
them. Round-tripping an export through an import therefore lost data,
and the preview misread "absent" as "visible".

The filter now works the other way around: the full database row is
the starting point and two classes of fields are stripped.
DataHandler-managed timestamps (tstamp, crdate) drop because import
overwrites them anyway, and columns whose stored value equals the
effective default drop because DataHandler reapplies defaults on
import. TCA is authoritative; only columns without a TCA default fall
back to the Doctrine-reported database default, which covers implicit
type defaults and ext_tables.sql overrides.

Fields preserved regardless of value are uid, pid, the disabled field
(RestrictionDisabledField capability), the record-type field
(ctrl.type, e.g. CType on tt_content or doktype on pages) and the
language capability fields. Per-table setup is cached so capability
lookups and schema introspection run once per table and export.

Review

  • Code review CR +2 Done
    • Benjamin Kott +2
  • Verified V +2 Done
    • Benjamin Kott +2
    • core-ci +1 CI

Issues 1

Files 53

Show 33 more files

Review log 46

  1. Benjamin Kott commented on patch set 1 04/28/26, 10:45

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V -1 04/28/26, 10:59 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101210

  3. Benjamin Kott commented on patch set 2 V -1 04/28/26, 13:07

    Cherry Picked from branch main.
  4. core-ci voted on patch set 2 V +1 04/28/26, 13:17 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101215

  5. Benjamin Kott voted on patch set 2 CR +2 V +2 04/28/26, 16:41

  6. Benjamin Kott merged patch set 3 04/28/26, 16:41