[BUGFIX] Initialize pagesTSconfig for link handler in FE 19/52619/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:43:39 +0000 (10:43 +0200)
commit543f14b66aa5cfd5a9aaaa23b4c39d839eb0517b
treeef9393b31c7e4c25b1952610262da255ffbfbac3
parent982ed195fd2c0dbd34825748241349aed6e8e480
[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/52619
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Classes/Typolink/DatabaseRecordLinkBuilder.php