Review 14.3 Merged

96902[BUGFIX] Crop file metadata values to the column length

Oli Bartsch CR +2 V +2 Normal +89 −3 updated 10/20/26, 09:39

Commit message

MetaDataRepository now crops string values to the length of their
database column before creating or updating a sys_file_metadata
record. Varchar columns are cropped by characters, text columns by
bytes without splitting multibyte characters.

Metadata extracted from a file, e.g. a long title of a PDF, does not
abort the indexing with a "Data too long" error anymore and the
following files are processed.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 46

  1. Oli Bartsch commented on patch set 1 10/20/26, 08:46

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

  3. Oli Bartsch uploaded patch set 2 V -1 10/20/26, 09:24

  4. core-ci voted on patch set 2 V +1 10/20/26, 09:34 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111778

  5. Oli Bartsch voted on patch set 2 CR +2 V +2 10/20/26, 09:39

  6. Oli Bartsch merged patch set 3 10/20/26, 09:39