Bug #16741
closedtypoLink doesn't use "type" correctly with simulateStaticDocuments
0%
Description
Imagine a TypoScript configuration like the following and simulateStaticDocuments enabled:
page.10 = TEXT
page.10 {
stdWrap = 1
stdWrap.typolink {
returnLast = url
useCacheHash = 1
parameter.data = tsfe:id
additionalParams = &type=5
}
}
You would get something like this as link-URL:
SomePage.13+M5bd9214a8c2.0.html?&type=5
If a user clicks that link, he isn't forward to typeNum "5" as defined, but to the regular typeNum "0". So we would expect to have a link like the following one:
SomePage.13.5.html
The MD5-Part is missing here because it was used for the "&type=5" param only.
The attached patch file is exactly doing this by adding an additional check to tslib_cObj::typoLink.
It's not only a 4.1-beta1a issue. This exists since a long time... ;-)
(issue imported from #M4564)
Files