Review main Merged

98057[TASK] Avoid default object stringification in TypeScript

Benjamin Kott CR +2 V +2 Hard +558 −108 updated 11/26/26, 12:34

Commit message

Enable @typescript-eslint/no-base-to-string, which reports values that
would turn into "[object Object]" when converted to a string. Most of
the findings copied form data entries, which can be files, into plain
objects that AjaxRequest turned back into form data. The login refresh
and the install tool now send the form data itself, so repeated field
names and files reach the server as the form holds them. The single
values read from forms are taken over only where they are strings.

The other findings read the bookmark arguments and the reset button
title of the wizard finisher by their actual type.

Review

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

Issues 2

Files 33

Show 13 more files Show less

Review log 913

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

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

  3. Benjamin Kott rebased onto patch set 2 V +1 11/26/26, 10:43

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

  5. Benjamin Franzke commented on patch set 2 11/26/26, 11:08

    installer.ts:278

    This implicitly skips `File` values. Might be irrelevant right now, but will be hard to debug once used. I'd prefer to just use the `FormData` as-is and pack the request extra fields into that object. That also avoids object-to-FormData transformer in `AjaxRequest`. This applies to other cases where `FormData` is copied into a plain object as well.
  6. Benjamin Kott uploaded patch set 3 V +1 11/26/26, 11:13

  7. Benjamin Franzke commented on patch set 3 CR +1 11/26/26, 11:17

    installer.ts:278 Reply

    Done
  8. core-ci voted on patch set 3 V +1 11/26/26, 11:23 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115554

  9. Benjamin Kott rebased onto patch set 4 CR +1 V +1 11/26/26, 12:09

  10. Benjamin Franzke voted on patch set 4 CR +1 V +1 11/26/26, 12:16

  11. core-ci voted on patch set 4 V +1 11/26/26, 12:19 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115562

  12. Benjamin Kott voted on patch set 4 CR +2 V +2 11/26/26, 12:34

  13. Benjamin Kott merged patch set 5 11/26/26, 12:34