Review main Merged

93342[TASK] Avoid writing empty arrays to impexp XML export

Benjamin Kott CR +2 V +2 Expert +737 −415 updated 03/27/26, 20:39

Commit message

Stop adding empty relation and soft reference arrays to the export
data structure in the first place, rather than writing them as empty
XML elements. Header fields like excludeMap, softrefCfg,
extensionDependencies, and meta are now only written when they carry
actual values, and per-record rels/softrefs entries are omitted when
empty.

Make the import tolerant of missing rels arrays so it can process
both old exports (with empty arrays) and new ones (without them).

Review

  • Code review CR +2 Done
    • Benni Mack +2
    • Garvin Hicking +1
  • Verified V +2 Done
    • Benni Mack +2
    • Garvin Hicking +1
    • core-ci +1 CI

Issues 1

Files 21

Show 1 more file

Review log 69

  1. Benjamin Kott uploaded patch set 1 03/24/26, 23:11

  2. core-ci voted on patch set 1 V -1 03/24/26, 23:36 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98632

  3. Benjamin Kott rebased onto patch set 2 V -1 03/25/26, 07:35

  4. core-ci voted on patch set 2 V -1 03/25/26, 07:53 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98656

  5. core-ci voted on patch set 2 V +1 03/25/26, 08:00 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98656

  6. Benni Mack voted on patch set 2 CR +1 V +1 03/27/26, 19:43

  7. Garvin Hicking voted on patch set 2 CR +1 V +1 03/27/26, 20:36

  8. Benni Mack voted on patch set 2 CR +2 V +2 03/27/26, 20:39

  9. Benni Mack merged patch set 3 03/27/26, 20:39