[TASK] Add `RedirectService` tests as preparation for a bugfix
Issue with the `RedirectService` has been reported wiht #103395 related to non-matching SiteConfig in cases no TypoScript template records exists, like when `b13/bolt` is used in instances. Changes #103437, #103439 and #103554 fixed the mentioned issue #103395 for TYPO3 v13, leaving the issue open for TYPO3 v12. Note: For v12 the regression test dataset needs to be disabled for now, and will be enabled with the upcoming fix. This change adds now some tests for non matching SiteConfiguration for `source_hosts`. Resolves: #103555 Related: #103395 Related: #103554 Related: #103439 Related: #103437 Releases: main, 12.4 Change-Id: I2c72de3fa5f8d8aae5e6d2ca702ea4685cd367b3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83694 Tested-by:core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Garvin Hicking <gh@faktor-e.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- composer.json 1 addition, 0 deletionscomposer.json
- typo3/sysext/redirects/Tests/Functional/Fixtures/Extensions/test_bolt/Classes/EventListener/AddTypoScriptFromSiteExtensionEventListener.php 151 additions, 0 deletions...tListener/AddTypoScriptFromSiteExtensionEventListener.php
- typo3/sysext/redirects/Tests/Functional/Fixtures/Extensions/test_bolt/Configuration/Services.yaml 14 additions, 0 deletions...Fixtures/Extensions/test_bolt/Configuration/Services.yaml
- typo3/sysext/redirects/Tests/Functional/Fixtures/Extensions/test_bolt/composer.json 20 additions, 0 deletions...ts/Functional/Fixtures/Extensions/test_bolt/composer.json
- typo3/sysext/redirects/Tests/Functional/Fixtures/Extensions/test_bolt/ext_emconf.php 21 additions, 0 deletions...s/Functional/Fixtures/Extensions/test_bolt/ext_emconf.php
- typo3/sysext/redirects/Tests/Functional/Service/Fixtures/SourceHostWithoutSourceConfigRedirect.csv 8 additions, 0 deletions...ervice/Fixtures/SourceHostWithoutSourceConfigRedirect.csv
- typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php 93 additions, 0 deletions...edirects/Tests/Functional/Service/RedirectServiceTest.php
Please register or sign in to comment