Issue Bug Closed

#35896rootline override with mounted pages

Bernd Hanisch 04/12/12, 13:08 updated 03/20/20, 09:16

Description

by using mounted pages i got problems the the search extension. after a few days in the search result page some hits of other domains in the same typo3-pagetree appears. i found this code in class.indexer.php:

————————————————————————
function updateRootline() {

$updateFields = array();
$this->getRootLineFields($updateFields);
$GLOBALS[‘TYPO3_DB’]->exec_UPDATEquery(‘index_section’, ‘page_id=’.intval($this->conf[‘id’]), $updateFields);
}
————————————————————————

called from line 595 in case, no update is nessesary. because the where class page_id this code overrides all records with other rootline infos (rl0-rl2) too.

what is the reason to update the rootline fields?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.