Review 14.3 Merged

97370[BUGFIX] Respect record type for slug proposal of new records

Oli Bartsch CR +2 V +2 Normal +65 −2 updated 11/06/26, 08:00

Commit message

The slug suggestion AJAX controller determined the record type only
from the database row to apply the "columnsOverrides" of the type.
For new records no row exists, so the overrides were never applied
and the proposal was generated with the base "generatorOptions",
although FormEngine renders the slug element with the overridden
configuration, e.g. listening on different fields.

The record type resolved by FormEngine is now passed from
InputSlugElement via the slug JavaScript module to the controller
and is part of the HMAC. The controller uses it when it is a valid
type of the table and falls back to the database row otherwise.

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 5

Review log 57

  1. Oli Bartsch commented on patch set 1 11/05/26, 11:02

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

  3. Oli Bartsch uploaded patch set 2 V -1 11/05/26, 13:10

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

  5. Simon Schaufelberger voted on patch set 2 CR +1 V +1 11/06/26, 01:05

  6. Oli Bartsch voted on patch set 2 CR +2 V +2 11/06/26, 08:00

  7. Oli Bartsch merged patch set 3 11/06/26, 08:00