[BUGFIX] Always throw exception if ext_emconf.php is missing 26/50026/8
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 10:57:13 +0000 (12:57 +0200)
commit2771a2c6a171dee3531ddcd0de006f9d28908f24
tree54fc7ee09e17f441ee2ffe8ee40442cae82a22b4
parent9f602b0486ca2451275528f88703b84d7de7394b
[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/50026
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Robert van Kammen <rvkammen@hotmail.com>
Tested-by: Robert van Kammen <rvkammen@hotmail.com>
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