[BUGFIX] Re-introduce SQL query per page during menu generation
With the Bugfix #100188 an integer is compared type-safe with a string: $page['uid'] ?? false) !== $linkDetails['pageuid'] This makes sure * $linkDetails['pageuid'] is an integer if possible * The tests use assertSame instead assertEqual for type safe comparison Resolves: #100329 Releases: main Change-Id: I26cfc56cf1d028e8794f659c8016ae6f860a56d3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78282 Tested-by:core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
Showing
- typo3/sysext/core/Classes/LinkHandling/LegacyLinkNotationConverter.php 5 additions, 2 deletions...core/Classes/LinkHandling/LegacyLinkNotationConverter.php
- typo3/sysext/core/Classes/LinkHandling/PageLinkHandler.php 3 additions, 1 deletiontypo3/sysext/core/Classes/LinkHandling/PageLinkHandler.php
- typo3/sysext/core/Tests/Unit/LinkHandling/LegacyLinkNotationConverterTest.php 10 additions, 6 deletions...sts/Unit/LinkHandling/LegacyLinkNotationConverterTest.php
- typo3/sysext/core/Tests/Unit/LinkHandling/PageLinkHandlerTest.php 2 additions, 2 deletions...sext/core/Tests/Unit/LinkHandling/PageLinkHandlerTest.php
Please register or sign in to comment