Actions
Bug #79108
closedIndexed Search cHash calculation error when indexing a single record
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2016-12-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
When TYPO3 is configured to index single record (eg: news) and cHash parameter is checked, we get this error:
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 xxxxxx/typo3_src-8.5.0/typo3/sysext/frontend/Classes/Page/CacheHashCalculator.php in line 136.
The reason is that parameter "id" is not sent to CacheHashCalculator when Indexer generate the cHash.
I am not sure where to fixe this, in Indexer (line 372) or in CrawlerHook (line 676)
A temporary workaround is to add the "id=xx" to GETparameter in configuration.
Actions