Feature #66255
closedSet cHash parameter if an cHashRequiredParameters is set
100%
Description
You can define parameters that need an cHash ([FE][cHashRequiredParameters]).
But when generating links via cObj/typolink the cHash isn't automatically set. You need to force it with useCacheHash = 1
I think the cHash can set automatically. This may avoid errors at the frontend.
The patch is working with TYPO3 6.2.11
How to test
Install Tool:
-> set [FE][cHashRequiredParameters] = category
In your template:
page { 20 = TEXT 20 { typolink { parameter = 1 additionalParams = &category=1 } } }
Files
Updated by Mathias Schreiber about 9 years ago
- Target version deleted (
next-patchlevel)
Updated by Susanne Moog about 7 years ago
- Category changed from Content Rendering to Caching
- Assignee deleted (
Philip Weweler)
Updated by Sybille Peters over 6 years ago
Thank you for your report.
Even though it has been some time, would you consider checking if your patch idea is still up to date and upload it to our Gerrit review server?
Someone could do this for you, but I am thinking you might like the opportunity to contribute to TYPO3 yourself.
You can find a description of the TYPO3 contribution workflow here: https://docs.typo3.org/typo3cms/ContributionWorkflowGuide/
Hint: If you get stuck anywhere, ask on Slack in the #typo3-cms-coredev channel. You can register in the TYPO3 slack workspace here: https://forger.typo3.com/slack
Also, if your issue is no longer reproducable, please let us know in the slack channel, so that this issue can be closed.
Thank you in advance!
Updated by Benni Mack about 5 years ago
Hey Philip,
sorry for the late reply.
Good news: With TYPO3 v9 and Site Handling this is now done automatically - so you never have to set useCacheHash=1 anymore when you have Site handling enabled. I just retested your issue and no problems so far, the cHash is now always (and automatically) created when a GET parameter is not in the whitelist or the excluded list.
If you feel there is still something missing, let us know, or submit a new ticket.