96505[BUGFIX] Validate slug field after the proposal has been applied
Commit message
Review
-
Code review CR +2 Done
- Georg Ringer +2
- Oli Bartsch +1
- Benni Mack +1
-
Verified V +2 Done
- Georg Ringer +2
- Oli Bartsch +1
- Benni Mack +1
- core-ci +1 CI
Issues 1
Files 4
- Build/Sources/TypeScript/backend/form-engine/element/slug-element.ts+5 −5
- Build/tests/playwright/e2e/form-engine/elements-slug.spec.tsnew+23 −0
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/element/slug-element.js+1 −1
- typo3/sysext/styleguide/Configuration/TCA/tx_styleguide_elements_slugs.php+15 −0
Review log 1320
-
Georg Ringer uploaded patch set 1 10/07/26, 19:31
-
Georg Ringer commented on patch set 1 10/07/26, 19:32
This change is ready for review. -
core-ci voted on patch set 1 V +1 10/07/26, 19:40 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110393
-
Georg Ringer uploaded patch set 2
V +110/09/26, 10:47 -
core-ci voted on patch set 2 V -1 10/09/26, 11:08 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110588
-
Georg Ringer rebased onto patch set 3
V -110/09/26, 16:16 -
Benni Mack updated the commit message in patch set 4 10/09/26, 16:16
-
core-ci voted on patch set 3 V +1 10/09/26, 16:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110626
-
core-ci voted on patch set 4 V +1 10/09/26, 16:28 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110627
-
Benni Mack voted on patch set 4 CR +1 V +1 10/09/26, 17:00
-
Georg Ringer uploaded patch set 5
CR +1V +111/09/26, 20:08 -
core-ci voted on patch set 5 V +1 11/09/26, 20:17 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113775
-
Georg Ringer rebased onto patch set 6
V +111/09/26, 20:39 -
core-ci voted on patch set 6 V +1 11/09/26, 20:59 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113783
-
Oli Bartsch uploaded patch set 7
V +111/09/26, 21:43 -
Oli Bartsch commented on patch set 7 CR +1 V +1 11/09/26, 21:44
The slug element now dispatches the "change" event only when the proposal comes from AUTO or RECREATE mode, after the proposal has been written to the read-only, hidden and visible fields. In MANUAL mode no event is dispatched, so FormEngine validation no longer overwrites the sanitized proposal in the hidden field with the raw input. Typing is still validated by the existing input listener. The dispatch check now also compares the visible input with the proposal, not just the hidden field. Without that, an input cleared and then recalculated within the debounce window stayed marked as invalid. -
core-ci voted on patch set 7 V +1 11/09/26, 21:57 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113805
-
Benni Mack voted on patch set 7 CR +1 V +1 11/09/26, 21:58
-
Georg Ringer voted on patch set 7 CR +2 V +2 11/09/26, 22:04
-
Benni Mack merged patch set 8 11/10/26, 05:31