#81903DatabaseRecordLinkBuilder is ignoring other settings
Description
The DatabaseRecordLinkBuilder is ignoring other settings make via typoscript.
So for example the ATagParams setting is ignored.
To Reproduce:
Make an Linkhandler for news, eg:
TCEMAIN.linkHandler {
# Pressemitteilungen
tx_news {
handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler
label = Pressemitteilungen
configuration {
table = tx_news_domain_model_news
storagePid = 136
hidePageTree = 1
}
scanAfter = page
}
}
Now use typoscript to render the Link:
link = TEXT
link {
value = Test
typolink {
parameter = t3://record?identifier=tx_news&uid=12046
ATagParams = class="test"
}
}
You will see the added class will not be rendered.
My simple soloution: merge the Link Conf array with the typoScriptConfiguration for the linkHandler (see example Patch attached).
Reviews 2
Related issues 3
- Bug #80896TypolinkViewhelper with linkhandler ignores class attribute
- Bug #81620Linkhandler remove all attributes set in the link wizard and the template
- Bug #84116Linkhandler links not rendered in frontend when TSConfig configuration is applied using "registerPageTSConfigFile()" or "addPageTSConfig()"