95431[TASK] Make most of the backend TypeScript null-safe
Commit message
Test this change
Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch
- Check out patch set 10
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/31/95431/10 && git checkout FETCH_HEAD - Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/31/95431/10 && git cherry-pick FETCH_HEAD
Review
-
Code review CR 0 Needs a vote
-
Verified V 0 Needs a vote
- core-ci +1 CI
Relation chain 8
- main 95437[WIP][TASK] Enable strict mode for the TypeScript build
- main 95436[WIP][TASK] Initialise class properties across the JavaScript stack
- main 95435[WIP][TASK] Enable strictNullChecks for the TypeScript build
- main 95434[WIP][TASK] Clear the last strictNullChecks errors in the backend
- main 95433[WIP][TASK] Reduce the remaining backend strictNullChecks errors
- main 95432[WIP][TASK] Carry the backend further towards strictNullChecks
-
95431 [TASK] Make most of the backend TypeScript null-safe This change
- main 95430[TASK] Make the form editor null-safe
Merge conflicts 66
- main 97304[WIP][BUGFIX] Render the record form from unsaved values
- main 97853[BUGFIX] Keep datetime fields in sync with localization state
- main 94015[FEATURE] Rank live search results by relevance
- main 97805[BUGFIX] Synchronize FlexForm fields of translations as one unit
- main 97755[BUGFIX] Catch failed requests in the inline container
- main 95475[WIP][FEATURE] Show all-language content in language comparison
- main 95436[WIP][TASK] Initialise class properties across the JavaScript stack
- main 95432[WIP][TASK] Carry the backend further towards strictNullChecks
- main 95435[WIP][TASK] Enable strictNullChecks for the TypeScript build
- main 95434[WIP][TASK] Clear the last strictNullChecks errors in the backend
- main 95433[WIP][TASK] Reduce the remaining backend strictNullChecks errors
- main 97458[TASK] Update htmlnano to v3 and litnano to v1.1
- main 94788[FEATURE] Allow limiting content elements per colPos
- main 92010[BUGFIX] Respect onChange='reload' for file and inline fields
- main 91354[WIP][TASK] Synchronize localized fields from any language
- main 96926[BUGFIX] Restore tree focus after page creation
- main 96869[TASK] Make file references sortable by keyboard
- main 97558[BUGFIX] Lock synchronized inline and file relations in translations
- main 96817[BUGFIX] Avoid orphaned children for synchronized translations
- main 93819[WIP][BUGFIX] Guard translated tt_content free-mode moves
- main 85477[TASK] Do not auto-toggle TWBS Collapse on initialization
- main 86842[BUGFIX] Handle browser-native validation-error `bad input` in form validation
- main 96511[BUGFIX] Validate inherited value of required placeholder fields
- main 96657[BUGFIX] Allow dropping tree nodes after ancestors
- main 95488[BUGFIX] Warn about endtime before starttime
- main 88374[TASK] Remove flags from module "Layout"
- main 97402[BUGFIX] Keep entered password visible in the password field
- main 93599[WIP][TASK] Migrate resource endpoints to Actions API
- main 92191[WIP][TASK] Migrate PageTree to Action API
- main 96978[FEATURE] Distinct actions for checkbox and dropdown
- main 96865[FEATURE] Add search to backend dropdown menus and selects
- main 97165[FEATURE] Offer file and folder search options
- main 94655[WIP][FEATURE] Run file uploads in a backend job queue
- main 96543[WIP][POC][TASK] Write and read records by the same rules and rights
- main 90874[FEATURE] Offer suggestions for link fields in the link browser
- main 96997[BUGFIX] Update new content link after element move
- main 96319[FEATURE] Undo operations from their notification
- main 96851[BUGFIX] Hide replace option without replace permission
- main 96765[WIP][TASK] Use HTML form element based selector in Typescript
- main 92257[WIP] Toolbar
- main 93597[WIP] Dispatch fields
- main 93940[WIP] Custom Element Browser
- main 90270[TASK] Factor out upload progress
- main 81409[WIP][TASK] Use @lit/context for color scheme and theme state management
- main 90848[FEATURE] Add thumbnail to new record wizard
- main 94720[FEATURE] Allow inline records to be added at the top
- main 93431[WIP][TASK] Use events in element browser IRRE handling
- main 94508[WIP][FEATURE] Provide button to remove all inline relations
- main 93277[WIP][TASK] Only mark field as changed if nessesary
- main 91189[WIP] Module Menu
- main 93528[WIP][TASK] Add new ce wrapper to contain element behavior
- main 92430[WIP][BUGFIX] Streamline progress bar behaviour
- main 91441[WIP][TASK] Provide module state as context via <typo3-backend>
- main 90952[WIP][BUGFIX] Fix `aria-owns` in page tree
- main 83623[WIP][FEATURE] Introduce System Settings API & Editor
- main 90079[WIP][FEATURE] Provide json-schema based settings type "complex"
- main 83208[WIP][FEATURE] Introduce Creation Wizards
- main 88532[WIP][BUGFIX] Allow drag and drop on mobile devices for pagetree
- main 86112[TASK] Improve performance of reload for recordlist column-selection and clipboard
- main 88643[TASK] Hide all add-content-buttons on drag and drop
- main 67256[WIP][TASK] Enable TypeScript `strictNullChecks` option
- main 86090[TASK] Ensure reload of content-container with anchor in url
- main 85496[FEATURE] Add mock dropzone to file-upload
- main 81680[WIP][TASK] Cleanup ConsumerScope
- main 68199[WIP][TASK] Add <typo3-backend-module> element
- main 80380[WIP][TASK] Sync navigation component context
Issues 2
Files 86
- Build/Sources/TypeScript/backend/code-editor/autocomplete/ts-parser.ts+1 −1
- Build/Sources/TypeScript/backend/code-editor/stream-parser/typoscript.ts+21 −16
- Build/Sources/TypeScript/backend/event/client-request.ts+1 −1
- Build/Sources/TypeScript/backend/event/interaction-request.ts+2 −2
- Build/Sources/TypeScript/backend/event/trigger-request.ts+1 −1
- Build/Sources/TypeScript/backend/form-engine/container/inline-control-container.ts+15 −15
- Build/Sources/TypeScript/backend/form-engine/element/extra/item-count.ts+2 −2
- Build/Sources/TypeScript/backend/form-engine/element/abstract-sortable-select-items.ts+1 −1
- Build/Sources/TypeScript/backend/form-engine/element/category-element.ts+1 −1
- Build/Sources/TypeScript/backend/form-engine/element/color-element.ts+1 −1
- Build/Sources/TypeScript/backend/form-engine/element/mfa-info-element.ts+1 −1
- Build/Sources/TypeScript/backend/form-engine/element/password-element.ts+9 −7
- Build/Sources/TypeScript/backend/form-engine/element/select-country-element.ts+4 −4
- Build/Sources/TypeScript/backend/form-engine/element/select-single-element.ts+4 −4
- Build/Sources/TypeScript/backend/form-engine/element/select-tree-element.ts+2 −2
- Build/Sources/TypeScript/backend/form-engine/element/slug-element.ts+3 −3
- Build/Sources/TypeScript/backend/form-engine/element/table-permission-element.ts+6 −6
- Build/Sources/TypeScript/backend/form-engine/element/table-wizard-element.ts+5 −5
- Build/Sources/TypeScript/backend/form-engine/field-control/add-record.ts+1 −1
- Build/Sources/TypeScript/backend/form-engine/field-control/insert-clipboard.ts+1 −1
Show 66 more files
- Build/Sources/TypeScript/backend/form-engine/field-control/reset-selection.ts+1 −1
- Build/Sources/TypeScript/backend/form-engine/field-wizard/localization-state-selector.ts+1 −1
- Build/Sources/TypeScript/backend/form-engine/field-wizard/value-picker.ts+1 −1
- Build/Sources/TypeScript/backend/layout-module/drag-drop.ts+5 −5
- Build/Sources/TypeScript/backend/layout-module/paste.ts+2 −2
- Build/Sources/TypeScript/backend/live-search/live-search.ts+3 −3
- Build/Sources/TypeScript/backend/localization/label-provider.ts+1 −1
- Build/Sources/TypeScript/backend/settings/editor.ts+1 −1
- Build/Sources/TypeScript/backend/tests/notification-test.ts+3 −3
- Build/Sources/TypeScript/backend/tree/tree.ts+1 −1
- Build/Sources/TypeScript/backend/utility/collapse-state-persister.ts+5 −5
- Build/Sources/TypeScript/backend/utility/collapse-state-search.ts+3 −3
- Build/Sources/TypeScript/backend/viewport/content-container.ts+1 −1
- Build/Sources/TypeScript/backend/clear-cache.ts+1 −1
- Build/Sources/TypeScript/backend/column-selector-button.ts+5 −5
- Build/Sources/TypeScript/backend/context-menu.ts+1 −1
- Build/Sources/TypeScript/backend/drag-uploader.ts+3 −3
- Build/Sources/TypeScript/backend/form-engine-review.ts+1 −1
- Build/Sources/TypeScript/backend/form-engine-suggest.ts+5 −5
- Build/Sources/TypeScript/backend/form-engine-validation.ts+4 −4
- Build/Sources/TypeScript/backend/form-engine.ts+5 −5
- Build/Sources/TypeScript/backend/grid-editor.ts+1 −1
- Build/Sources/TypeScript/backend/image-manipulation.ts+9 −9
- Build/Sources/TypeScript/backend/link-browser.ts+2 −2
- Build/Sources/TypeScript/backend/modal.ts+1 −1
- Build/Sources/TypeScript/backend/module-menu.ts+6 −8
- Build/Sources/TypeScript/backend/multi-record-selection-action.ts+1 −1
- Build/Sources/TypeScript/backend/multi-record-selection.ts+2 −2
- Build/Sources/TypeScript/backend/new-multiple-pages.ts+1 −1
- Build/Sources/TypeScript/backend/new-record-wizard.ts+1 −1
- Build/Sources/TypeScript/backend/online-media.ts+1 −1
- Build/Sources/TypeScript/backend/record-download-button.ts+2 −2
- Build/Sources/TypeScript/backend/recordlist.ts+5 −5
- Build/Sources/TypeScript/backend/setup-module.ts+2 −2
- Build/Sources/TypeScript/backend/window-manager.ts+2 −2
- typo3/sysext/backend/Resources/Public/JavaScript/code-editor/stream-parser/typoscript.js+2 −2
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/container/inline-control-container.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/element/category-element.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/element/color-element.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/element/password-element.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/element/select-country-element.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/element/select-single-element.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/element/select-tree-element.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/element/table-permission-element.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/field-control/add-record.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/field-control/insert-clipboard.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/field-control/reset-selection.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/field-wizard/value-picker.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/layout-module/drag-drop.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/layout-module/paste.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/live-search/live-search.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/localization/label-provider.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/tree/tree.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/utility/collapse-state-persister.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/clear-cache.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/context-menu.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/drag-uploader.js+2 −2
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine-suggest.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine-validation.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/image-manipulation.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/link-browser.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/module-menu.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/online-media.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/recordlist.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/setup-module.js+1 −1
Review log 1526
Show 1 earlier messages
-
Benjamin Kott uploaded patch set 1 08/26/26, 13:09
-
Benjamin Kott marked it work in progress 08/26/26, 13:24
-
core-ci voted on patch set 1 V +1 08/26/26, 13:31 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/107144
-
Benjamin Kott uploaded patch set 2
V +110/15/26, 16:16 -
core-ci voted on patch set 2 V +1 10/15/26, 16:42 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111233
-
Benjamin Kott updated the commit message in patch set 3
V +110/15/26, 21:02 -
core-ci voted on patch set 3 V +1 10/15/26, 21:43 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111274
-
Benjamin Kott rebased onto patch set 4
V +110/16/26, 07:45 -
core-ci voted on patch set 4 V -1 10/16/26, 08:26 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111322
-
Benjamin Kott rebased onto patch set 5
V -110/16/26, 09:26 -
core-ci voted on patch set 5 V -1 10/16/26, 10:05 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111337
-
Benjamin Kott uploaded patch set 6
V -110/23/26, 14:49 -
Benjamin Kott uploaded patch set 7 10/23/26, 15:42
-
core-ci voted on patch set 6 V -1 10/23/26, 15:48 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112329
-
core-ci voted on patch set 7 V -1 10/23/26, 16:28 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112349
-
Benjamin Kott uploaded patch set 8
V -111/18/26, 10:59 -
core-ci voted on patch set 8 V +1 11/18/26, 11:20 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114861
-
Benjamin Kott uploaded patch set 9
V +111/19/26, 14:43 -
core-ci voted on patch set 9 V -1 11/19/26, 14:55 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115021
-
Benjamin Kott commented on patch set 9 11/19/26, 14:58
This change is ready for review. -
core-ci voted on patch set 9 V +1 11/19/26, 15:01 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115021
-
Georg Ringer commented on patch set 9 CR -1 11/19/26, 15:13
so why do we got this comment. even though we use AI, the commit should not be a discussion board of AI -
Benjamin Kott commented on patch set 9 11/19/26, 15:27
Reply
not sure what your point is here, if we want to move forward in the chain, its important to know why this is here. -
Georg Ringer commented on patch set 9 CR 0 11/19/26, 15:32
Reply
ok, if you understand it, fine -
Garvin Hicking updated the commit message in patch set 10
V +111/20/26, 10:55 -
core-ci voted on patch set 10 V +1 11/20/26, 11:02 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115068