Actions
Bug #80649
closedIllegal string offset 'linkHandler.' - TYPO3 v 8.6.1
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2017-04-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Using the newly integrated linkhandler, a link to a news records throws the following error:
Core: Error handler (FE): PHP Warning: Illegal string offset 'linkHandler.' in /typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 6012
The link in the RTE looks like that:
<a href="t3://record?identifier=tx_news&uid=11">Link</a>
The website does not show the link at all.
My page TSconfig:
TCEMAIN.linkHandler.tx_news {
handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler
label = News
configuration {
table = tx_news_domain_model_news
storagePid = 1
hidePageTree = 1
}
scanBefore = page
}
My TYPOscrip setup:
config.recordLinks.tx_news {
forceLink = 0
typolink {
parameter = 2
additionalParams.data = field:uid
additionalParams.wrap = &tx_news_pi1[news]=|&tx_news_pi1[controller]=News&tx_news_pi1[action]=detail
useCacheHash = 1
}
}
So this is more or less the config, which was provided with Feature #79626
Actions