[BUGFIX] Add tx_indexedsearch as class alias again 07/36007/5
authorMathias Schreiber <mathias.schreiber@wmdb.de>
Wed, 14 Jan 2015 14:24:28 +0000 (15:24 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 14 Jan 2015 21:52:53 +0000 (22:52 +0100)
commit123611ff1a1d25f3739e4218770c029ce0ade476
tree88df73fed324372de23370ecf49b52ad849b93bc
parent8bccd95eab6110c2907a919d7a80934fd5bb9995
[BUGFIX] Add tx_indexedsearch as class alias again

Registering a "pibase" frontend plugin with addPItoST43($_EXTKEY)
generates a TypoScript snipped for indexed_search like:

plugin.tx_indexdsearch = USER_INT
plugin.tx_indexedsearch.userFunc = tx_indexedsearch->main

The class will be instantiated and main() is called at render
time. There is no easy way to change this. In case of
indexed_search, the "old" class name "tx_indexedsearch" must
be kept as alias to the namespaced class name for the time being
to not trigger a "class not found" fatal error.

Fixes: #64280
Releases: master
Change-Id: I4f41b51b382f69a15ed4e5f19b044d5b9882ed80
Reviewed-on: http://review.typo3.org/36007
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/compatibility6/Migrations/Code/ClassAliasMap.php
typo3/sysext/indexed_search/Migrations/Code/ClassAliasMap.php [new file with mode: 0644]