Bug #68082

Fatal error when updating from 7.0 to 7.4 (wrong entries in packagestate.php)

Added by Tymoteusz Motylewski over 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Category:
composer
Target version:
-
Start date:
2015-07-13
Due date:
% Done:

100%

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

Description

In older 7 versions packages like that were also stored in the packageState.php file:

 'symfony.yaml' => 
    array (
      'manifestPath' => 'Symfony/Component/Yaml/',
      'composerName' => 'symfony/yaml',
      'state' => 'inactive',
      'packagePath' => 'Packages/Libraries/symfony/yaml/',
      'classesPath' => 'Classes/',
      'suggestions' => 
      array (
      ),
    ),

which now Package to throw Exception\InvalidPackageManifestException
Unortunatelly PackageManager doesn't catch this exception, which result in Fatal error (probably error handler is not yet configured).

Associated revisions

Revision b6aeeb9e (diff)
Added by Tymoteusz Motylewski over 4 years ago

[BUGFIX] Catch InvalidPackageManifestException in PackageManager

Prevents TYPO3 from going fatal when ext_emconf.php for some
package is missing.

Releases: master
Resolves: #68082
Change-Id: I646a26e9b952561480241cc06ad918fb64bb3d94
Reviewed-on: http://review.typo3.org/41171
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>
Reviewed-by: Stefan Neufeind <>
Tested-by: Stefan Neufeind <>

History

#1 Updated by Tymoteusz Motylewski over 4 years ago

I have a patch ready, but can't push it because of wifi at ACME.

#2 Updated by Gerrit Code Review over 4 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/41171

#3 Updated by Gerrit Code Review over 4 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/41171

#4 Updated by Tymoteusz Motylewski over 4 years ago

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

#5 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF