[TASK] Remove dependency between SiteLanguage and Site 93/57893/4
authorBenni Mack <benni@typo3.org>
Tue, 14 Aug 2018 13:09:49 +0000 (15:09 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 14 Aug 2018 17:25:26 +0000 (19:25 +0200)
commite91b54cf0be9b5195bca0802491edcb7cf7a65dc
treed6acd524302012715c8d1cc394761c239f003514
parent36b7cf4bb0637227a4d1af33cb6f53ff5235d5de
[TASK] Remove dependency between SiteLanguage and Site

The entity of SiteLanguage is re-connected to a
site. However this circular dependency makes it impossible
to serialize or compile any of the site configuration.

As this was introduced at the very early stage of
Site Handling where the API wasn't clear, this can
be removed, as "site" and "language" are both
always available in a PSR-7 request.

Resolves: #85841
Releases: master
Change-Id: Id061def7b0299b9c355ae83e1903cf64b6127149
Reviewed-on: https://review.typo3.org/57893
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Site/Entity/Site.php
typo3/sysext/core/Classes/Site/Entity/SiteLanguage.php
typo3/sysext/frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php
typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php