[BUGFIX] Localization State does not properly sanitize and enrich
The Localization State object has an incomplete assignment in the constructor - sanitize processing is overridden by enrich processing, however both should be combined instead. The current side-effects were, that * localization state could contain fields that were not defined in TCA having support for the `allowLanguageSynchronization` setting * state values different than `custom`, `source` or `parent` have not been overridden by the default `parent` value Resolves: #82793 Releases: 8.7, master Change-Id: I25e794736df216b17a5b8de3bc5203bd18ee9694 Reviewed-on: https://review.typo3.org/54422 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Susanne Moog <susanne.moog@typo3.org> Tested-by:
Susanne Moog <susanne.moog@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Classes/DataHandling/Localization/State.php 19 additions, 4 deletions...3/sysext/core/Classes/DataHandling/Localization/State.php
- typo3/sysext/core/Tests/Unit/DataHandling/Localization/StateTest.php 193 additions, 0 deletions...t/core/Tests/Unit/DataHandling/Localization/StateTest.php
Please register or sign in to comment