[BUGFIX] Set fallback for undefined array key in php8
After reset user preferences in settings module the Configuration Module shows undefined array key warning. An empty array has been added as fallback to workaround this issue and improved scrollTo behavior when the user opens a node in the configuration tree. Also extended tests to cover such issues in the future. Resolves: #94487 Releases: master Change-Id: I3e907a2618765d314ff1ad8bcab74f1af46765c0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69724 Tested-by:core-ci <typo3@b13.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
crell <larry@garfieldtech.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Sources/TypeScript/lowlevel/Resources/Public/TypeScript/ConfigurationView.ts 9 additions, 1 deletion...lowlevel/Resources/Public/TypeScript/ConfigurationView.ts
- typo3/sysext/core/Tests/Acceptance/Backend/ConfigurationModule/ConfigurationModuleProviderCest.php 44 additions, 0 deletions...d/ConfigurationModule/ConfigurationModuleProviderCest.php
- typo3/sysext/lowlevel/Classes/Controller/ConfigurationController.php 1 addition, 1 deletion...t/lowlevel/Classes/Controller/ConfigurationController.php
- typo3/sysext/lowlevel/Resources/Public/JavaScript/ConfigurationView.js 1 addition, 1 deletion...lowlevel/Resources/Public/JavaScript/ConfigurationView.js
Please register or sign in to comment