Review main Merged

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

Georg Ringer CR +2 V +2 Normal +89 −3 updated 10/20/26, 08:46

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
    • Simon Schaufelberger +1
  • Verified V +2 Done
    • Oli Bartsch +2
    • Simon Schaufelberger +1
    • core-ci +1 CI

Issues 1

Files 2

Review log 810

  1. Georg Ringer uploaded patch set 1 10/16/26, 15:55

  2. core-ci voted on patch set 1 V +1 10/16/26, 16:04 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111379

  3. Georg Ringer commented on patch set 1 10/17/26, 09:35

    This change is ready for review.
  4. Wouter Wolters voted on patch set 1 CR +1 V +1 10/18/26, 14:55

  5. Oli Bartsch uploaded patch set 2 CR +1 V +1 10/20/26, 08:00

  6. Oli Bartsch voted on patch set 2 CR +1 V +1 10/20/26, 08:02

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

  8. Simon Schaufelberger voted on patch set 2 CR +1 V +1 10/20/26, 08:30

  9. Oli Bartsch voted on patch set 2 CR +2 V +2 10/20/26, 08:46

  10. Oli Bartsch merged patch set 3 10/20/26, 08:46