Project

General

Profile

Actions

Bug #69741

closed

getComposerManifest doesn't pass exceptions

Added by Jigal van Hemert about 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2015-09-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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>"

Actions #1

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
Actions #2

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

Actions #3

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

Actions #4

Updated by Mathias Brodala about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Anja Leichsenring almost 9 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions #6

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF