Fatal error / no possibility to flush caches after package has been removed
Steps to reproduce (production context!):
- create Acme.Demo package
- warm up caches
- remove the package manually by just deleting the package directory
- run ./flow or anyhting else
Fatal error: Uncaught exception 'TYPO3\Flow\Package\Exception\InvalidPackagePathException' with message 'Package path does not exist or is no directory.' in /Volumes/HDD/opt/local/apache2/htdocs/Sites/robertlemke.com/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Package/Package.php on line 99
Handle this more gracefully – either just ignore it and update PackageStates.php or at least output an error message.
But I'd rather see 1) implemented …
[BUGFIX] Handle missing - but registered - packages gracefully
In production a missing, but registered package leads to a fatal
error. Handle this situation gracefully.
Allow logging early on in the package manager.