[BUGFIX] Always throw exception if ext_emconf.php is missing 50/50050/3
authorHelmut Hummel <info@helhum.io>
Mon, 26 Sep 2016 13:03:17 +0000 (15:03 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 28 Sep 2016 12:46:21 +0000 (14:46 +0200)
commit8f40210634901033a310e5e768b1973a2499bf6a
tree2fa35062ccf5b6195f21472e302b0761c0f8e53e
parent59a8dee7633c44e95eaf6da49f602d42124de4af
[BUGFIX] Always throw exception if ext_emconf.php is missing

The ext_emconf.php is still required for TYPO3 extensions.
However a piece of PackageManager code was still graceful
if instead at least a composer.json was present.

Then however it failed, when in composer.json the require section
was filled with composer packages which are unknown to TYPO3.

Because of this, we need to throw an exception in any case,
if ext_emconf.php is not present.

Resolves: #78054
Releases: 7.6, master
Change-Id: I08b9931dac50384e08fe89558288fa8653722a78
Reviewed-on: https://review.typo3.org/50050
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Package/PackageManager.php
typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php