[BUGFIX] Resolve class name from aliases managed by composer 15/37915/3
authorHelmut Hummel <helmut.hummel@typo3.org>
Fri, 13 Mar 2015 15:27:02 +0000 (16:27 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Wed, 18 Mar 2015 10:13:47 +0000 (11:13 +0100)
commitcf02cd79bd0bf82afed268e3883425f327788f72
tree3468b376ae932f9368f4c1805b28f07a9e50ad6e
parent4214bdf9cb5a8f461c2acfeea5f96dc201d327ab
[BUGFIX] Resolve class name from aliases managed by composer

The old class loader has API to return the original class name
when given an alias. This API was not respected when implementing
composer class loading with #64361 with the result that it was
broken for all classes and aliases managed by the composer class loader.

To address this issue, the composer class loader is now injected into
the old class alias map, so that it can resolve class names from aliases
managed by it.

Related: #64361
Resolves: #65667
Releases: 6.2, master
Change-Id: If0b5098d72147fe7d76e97ee61c81d87cad72b4b
Reviewed-on: http://review.typo3.org/37915
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/contrib/vendor/composer/autoload_classmap.php
typo3/contrib/vendor/helhum/class-alias-loader/Classes/Composer/ClassAliasLoader.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Core/ClassAliasMap.php