Bug #59357

Using the PackageManager directly instead of the Interface results in unexpected behavior

Added by Marc Neuhaus over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-06-05
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

If you try to inject the PackageManager into your class using the Inject Annotation
the "getAvailablePackages" returns no Packages because the PackageManager doesn't
seem to be initialized. Using the alternative injection method through an injectPackageManager
method works without a Problem.


Related issues

Has duplicate TYPO3 Flow Base Distribution - Bug #59358: PackageManager does not work when being injected via AnnotationClosed2014-06-05

Actions

Also available in: Atom PDF