Project

General

Profile

Actions

Task #83603

closed

sysext/indexed_search using deprecated tx_crawler_lib class

Added by Tomas Norre Mikkelsen over 6 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Should have
Category:
Indexed Search
Target version:
-
Start date:
2018-01-17
Due date:
% Done:

0%

Estimated time:
1.00 h
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
hard
Sprint Focus:

Description

The class "\tx_crawler_lib::class" doesn't exist within the crawler since version 6.0.0, but the sysext/indexed_search are still using it. https://git.typo3.org/Packages/TYPO3.CMS.git/blob/HEAD:/typo3/sysext/indexed_search/Classes/Indexer.php#l757

This is now namespaced and removed:
\AOE\Crawler\Controller\CrawlerController::class

This makes it break if not using composer, not all switched to composer yet. In composer it's working due to the ClassMapAlias. https://github.com/AOEpeople/crawler/issues/262

We are planning on implementing a work-around for now, with e.g. class_alias().

I would like to fix this for:
TYPO3 7.6, 8.9, 9.x and dev-master of course.

https://git.typo3.org/Packages/TYPO3.CMS.git/blob/HEAD:/typo3/sysext/indexed_search/Classes/Indexer.php#l757

I would like to fix this, I have assigned myself to the task, let me know if that's not ok.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #90384: Do not use ::class syntax for class tx_crawler_libClosed2020-02-15

Actions
Actions

Also available in: Atom PDF