Project

General

Profile

Actions

Bug #19214

closed

New Option "index_metatags" is not available for crawler-hooks

Added by Christian Trabold over 15 years ago. Updated over 10 years ago.

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

0%

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

Description

I encountered that the new option "index_metatags" ($this->conf['index_metatags']) is not available in my crawler hook, that I implemented for index-search.

Thus keywords and description are not stored in the search index, which results in false search results.

Currently the Option is initialized in hook_indexContent() only. To use the option in hooks it has to be initialized it in backend_initIndexer() too.

I must admit that I haven't proofed if there's a better solution for the fix than duplicating the code (make it DRY).

Maybe some "indexed_search-master" can think this over. ;)
(issue imported from #M9160)


Files

class.indexer.php.patch (615 Bytes) class.indexer.php.patch Administrator Admin, 2008-08-12 13:22
class.indexer-2.php.patch (587 Bytes) class.indexer-2.php.patch Administrator Admin, 2008-08-13 09:20
Actions #1

Updated by Christian Trabold over 15 years ago

Updated patch.

The condition isset($pObj->config['config']['index_metatags']) ... is always true, because there is no $pObj.

Thus the value is not configurable yet.

Actions #2

Updated by Alexander Opitz almost 11 years ago

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

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

Actions #3

Updated by Alexander Opitz over 10 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