Bug #69741
closedgetComposerManifest doesn't pass exceptions
100%
Description
\TYPO3\CMS\Core\Package\PackageManager::getComposerManifest() calls \TYPO3\CMS\Core\Package\PackageManager::mapExtensionManagerConfigurationToComposerManifest() to read and parse ext_emconf.php files. The latter can throw some exceptions with details on what went wrong. These are caught inside getComposerManifest() and instead an exception is thrown that there is neither a composer.json nor an ext_emconf.php file found.
Example:
- remove version numbers in the conflict part of ext_emconf
- mapExtensionManagerConfigurationToComposerManifest throws an exception with the description "The extension "%s" has invalid version constraints in conflicts section. Extension key is missing!"
- getComposerManifest() catches this and throws the mysterious message "Neither a composer.json nor an ext_emconf.php file was found for extension <name>"
Updated by Mathias Brodala about 9 years ago
- Assignee set to Mathias Brodala
- Target version changed from 7 LTS to 7.5
- Sprint Focus set to On Location Sprint
Updated by Gerrit Code Review about 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43253
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43253
Updated by Mathias Brodala about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8619bba6a6bfb040c93b02f254bc93259e9d37c6.
Updated by Anja Leichsenring almost 9 years ago
- Sprint Focus deleted (
On Location Sprint)
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed