[TYPO3-core] PackageManager fatal error in the core after uninstalling extension

Dmitry Dulepov dmitry.dulepov at gmail.com
Fri Nov 1 15:05:03 CET 2013


Hi!

Jigal van Hemert wrote:
> It seems that "install" is missing a dependency on "fluid" and
> "extbase". If you add those the package manager should be able to build
> the dependencies and the loading order correctly.

No, it is not. From composer.json:

=======================
{
	"name": "typo3/cms/install",
	"type": "typo3-cms-framework",
	"description": "TYPO3 Core",
	"homepage": "http://typo3.org",
	"license": ["GPL-2.0+"],
	"version": "6.2.0",

	"require": {
		"typo3/cms/core": "*",
		"typo3/cms/fluid": "*",
		"typo3/cms/extbase": "*"
	},
	"replace": {
		"install": "*"
	}
}
=======================

Core and extbase are resolved from 'typo3/cms/XXX' to 'XXX' because they 
are loaded before install but 'typo3/cms/fluid' is not resolved to fluid 
because it is not loaded yet. So the dependency stays as is 
(getPackageKeyFromComposerName throws an exception and forces the use of 
'typo3/cms/fluid'). When later code looks up for 'typo3/cms/fluid' in the 
list of packages, it cannot find it because it is not resolved to 'fluid'.

-- 
Dmitry Dulepov

Today is a good day to have a good day.


More information about the TYPO3-team-core mailing list