[BUGFIX] Transform language parameter when previewing translated pages 38/58438/3
authorOliver Hader <oliver@typo3.org>
Fri, 28 Sep 2018 16:35:40 +0000 (18:35 +0200)
committerBenni Mack <benni@typo3.org>
Fri, 28 Sep 2018 19:27:18 +0000 (21:27 +0200)
commit241b7469c33d4f18887cfbc5e9f6c1754999e2cd
tree35d0cc999c6400ee4e4d27fdd4d7b31be8ffb326
parent6958eef917e3ddab51ff28f2ba3d16ee43259a01
[BUGFIX] Transform language parameter when previewing translated pages

When previewing translated pages in the backend, URLs contain `&L=x` at
the end. This is due to a missing transformation into the `_language`
parameter as well a missing SiteLanguage resolving.

Resolves: #86421
Releases: master
Change-Id: I5da496d0224635b1ee849dd7a724145ad2c0d408
Reviewed-on: https://review.typo3.org/58438
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/core/Classes/Routing/PageRouter.php