[BUGFIX] Initialize pagesTSconfig for link handler in FE 29/52629/2
authorBenni Mack <benni@typo3.org>
Wed, 26 Apr 2017 18:56:45 +0000 (20:56 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 27 Apr 2017 08:44:26 +0000 (10:44 +0200)
commitbd869967d33c69b5bc9aa803ee2f4743527ff615
treef689fd5a995b955d23afa1cbedbe24b07422d1e5
parentc9d6c46e9c11c3b09f7fd9d85e9b7bc5aa5732d6
[BUGFIX] Initialize pagesTSconfig for link handler in FE

In TYPO3 v8, $TSFE->pagesTSconfig is only initialized
when the frontend editing is active, but the link handler depends on the
value of pageTSconfig, for this reason, the method for initializing
should be used instead of the public property.

Resolves: #80883
Releases: master, 8.7
Change-Id: I6e7519c23f34867850160135ea8798911907338b
Reviewed-on: https://review.typo3.org/52629
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Classes/Typolink/DatabaseRecordLinkBuilder.php