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 #1

Updated by Xavier Perseguers over 14 years ago

Hi,

Could you provide a patch?

Actions #2

Updated by Susanne Moog over 13 years ago

  • Category set to Indexed Search
  • Status changed from Needs Feedback to New
  • Target version deleted (0)
  • TYPO3 Version set to 4.4
  • Complexity set to medium
Actions #3

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #4

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF