[BUGFIX] Resolve class name from aliases managed by composer 25/37825/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Fri, 13 Mar 2015 15:27:02 +0000 (16:27 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Sat, 14 Mar 2015 19:46:10 +0000 (20:46 +0100)
commit89f9ec40f033bb6fba4bfb7263313a16d78404de
treee4fce2ca4515fc6c6cd6ac59a0aede3bf982e3e9
parentd7d00d4b31a6777535c0c2986ddfbd899199f76b
[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/37825
Reviewed-by: Sascha Nowak <sascha.nowak@netlogix.de>
Tested-by: Sascha Nowak <sascha.nowak@netlogix.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
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