[BUGFIX] Fix dependencies for non-composer extensions 19/26619/3
authorThomas Maroschik <tmaroschik@dfau.de>
Thu, 2 Jan 2014 11:01:07 +0000 (12:01 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 7 Jan 2014 13:35:53 +0000 (14:35 +0100)
commit185658af83f4246f4c9a91fa59cfd197660c524c
tree6ee589c7e54216428197f339a121e671c25550db
parent76dea6285c9b77838d2487a1b13d620c50c764b1
[BUGFIX] Fix dependencies for non-composer extensions

The method packageRequirementIsComposerPackage of
TYPO3\CMS\Core\Package ignores all non composer package
names and thus dependency resolving of non composer packages
doesn't work.

This patch adapts the behavior to ignore just the platform
package links described here
http://getcomposer.org/doc/02-libraries.md#platform-packages

Fixes: #54142
Releases: 6.2
Change-Id: Idb6a837eebf792c6cbf9394885edc17c9d392a9f
Reviewed-on: https://review.typo3.org/26619
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/core/Classes/Package/Package.php
typo3/sysext/core/Classes/Package/PackageManager.php
typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php