Bug #77956
closedException in language menu when using addQueryString.exclude and cHashIncludePageId
100%
Description
Integration the last core Version 6.2.27
https://typo3.org/news/article/typo3-cms-6227-7611-and-831-released/
In different setups (With templavoila or grid & bootstrap) running 6.2. lts. After
deaktivation the 'cHashIncludePageId' all works again - otherwise the page becomes
inaccessable after cacheflush...
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1467983513: ID parameter
needs to be passed for the cHash calculation! As a temporary not recommended
workaround, you can set $GLOBALS['TYPO3_CONF_VARS']['FE']['cHashIncludePageId'] to
false to avoid this error. | RuntimeException thrown in file
/var/www/typo3_src/typo3_src-6.2.27/typo3/sysext/frontend/Classes/Page/CacheHashCalculator.php
in line 128.
Updated by Gregor Sievert about 8 years ago
This Bug comes from typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php Line ~7192 in TYPO3 7.6.11 and in TYPO3 6.2.27 it is Line 6544
$exclude['id'] = 0;
Whenever some excludes are set, id will be excluded too. This wont work with
'cHashIncludePageId' => true,
Until this is fixed you can remove your excludes from eg. menus / news and so on.
In my Case it breaks while rendering a languagemenu with
'addQueryString.' => [ 'exclude' => 'L, cHash, q, tx_solr' ],
on the news detail page
Updated by Helmut Hummel about 8 years ago
- Status changed from New to Under Review
https://review.typo3.org/#/c/49943/
(don't know why this did not work automatically)
Updated by Stephan Großberndt about 8 years ago
Did not work because the patch only sets a "Related" relation instead of "Resolves".
Updated by Gerrit Code Review about 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49943
Updated by Gerrit Code Review about 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49943
Updated by Gerrit Code Review about 8 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49943
Updated by Stephan Großberndt about 8 years ago
- Subject changed from you can set $GLOBALS['TYPO3_CONF_VARS']['FE']['cHashIncludePageId'] to false to avoid this error to Exception in language menu when using addQueryString.exclude and cHashIncludePageId
- Tags deleted (
#cacheflood)
Updated by Gerrit Code Review about 8 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49943
Updated by Gerrit Code Review about 8 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49943
Updated by Stephan Großberndt about 8 years ago
- Sprint Focus changed from On Location Sprint to Stabilization Sprint
Updated by Sascha Nowak about 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0a2013bbca0b455c6bb15723201c0e12d9c30a8a.
Updated by Gerrit Code Review about 8 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50205
Updated by Gerrit Code Review about 8 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50206
Updated by Sascha Nowak about 8 years ago
- Status changed from Under Review to Resolved
Applied in changeset 04481f830ca0d55c152cb881daf0efcb88031413.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed