[BUGFIX] Allow page links to different languages within a site 08/58108/13
authorBenni Mack <benni@typo3.org>
Fri, 31 Aug 2018 20:57:58 +0000 (22:57 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 3 Sep 2018 12:30:16 +0000 (14:30 +0200)
commitba4495a77ed72e490b1f19b71a7da902944a0c28
tree2c3713eeee2959f79befaf55d5d6f235510f0301
parent97364f06d027627dad0e4f122b28a791d9b33552
[BUGFIX] Allow page links to different languages within a site

Due to the refactoring process within links to a site, it is still
necessary to link to a translated page with a given "&L=" parameter.
This parameter is resolved, and a link to a page translation
is generated.

Fixes menu generation and typolink with the generated page title.

Resolves: #86067
Releases: master
Change-Id: I3e1208a2cdb438c68d4ed3dac1d0274ce07395dc
Reviewed-on: https://review.typo3.org/58108
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php
typo3/sysext/frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php
typo3/sysext/frontend/Tests/Functional/SiteHandling/AbstractTestCase.php
typo3/sysext/frontend/Tests/Functional/SiteHandling/LinkGeneratorTest.php
typo3/sysext/frontend/Tests/Functional/SiteHandling/SlugLinkGeneratorTest.php