Project

General

Profile

Actions

Bug #21888

closed

minor issue with indexing

Added by erik dahlin almost 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2009-12-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

I couldnt figure out why index search wasnt indexing, so I went to the source to find out why.
After a while I finally found the problem.

On line 248 in class.indexer.php there is a check:
if (!strcmp($pObj->sys_language_uid,$pObj->sys_language_content))

It checks if the content language is the same as the sys_language. In my case they where different becuase I was using content_fallback so the content was showing up.

The solution was to change the sys_lang back to the same as the content_lang.
But in my opinion there should be a check for content_fallback in the plugin.

Add an extra condition to the if-statement on line 248 in class.indexer.php that checks for content_fallback
(issue imported from #M13108)

Actions

Also available in: Atom PDF