Actions
Bug #35896
closedrootline override with mounted pages
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2012-04-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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?
Actions