Project

General

Profile

Actions

Bug #17597

closed

Hook for "getSearchWords" checks for a method "getSearchWords" in hook class, but does not use this method.

Added by Sebastian Fuchs about 17 years ago. Updated about 11 years ago.

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

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In class.tx_indexedsearch.php in the method getSearchWords is a Hook definied called "getSearchWords" (line421).
On creation of the hook object there is a check if the method "getSearchWords" is available in the hook class.
Later there is not a call to the checked method, but to "getSearchWords_splitSWords".
This is no bug, but inconsistent.

line 422 should not be:
return $hookObj->getSearchWords_splitSWords($inSW, $defOp);
but:
return $hookObj->getSearchWords($inSW, $defOp);

sorry that i dont have any diff patch.
(issue imported from #M6333)

Actions #1

Updated by Alexander Opitz over 11 years ago

  • Status changed from Accepted to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version set to 4.1

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

Actions #2

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Michael Stucki)

No feedback for over 90 days.

Actions

Also available in: Atom PDF