Actions
Bug #84925
closedconfig.forceTypeValue does not work as PageLinkBuilder defaults to 0 if no pagetype parameter is set
Start date:
2018-05-04
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In PageLinkBuilder there is the following code:
$pageType = $linkDetails['pagetype'] ?? 0;
This $pageType parameter is then used as typeOverride for this link which has precedence over config.forceTypeValue
However, in case of it not being set config.forceTypeValue should be used.
I think the easiest solution would be to default to en empty string as that is the default value for linkData or in 9.x createTotalUrlAndLinkData also.
Actions