Bug #55309

PackageManager::getPackageOfObject() does not work for proxy objects

Added by Bastian Waidelich over 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Should have
Category:
Package
Target version:
-
Start date:
2014-01-24
Due date:
% Done:

100%

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

Description

The method PackageManager::getPackageOfObject() fails to resolve the package of a given object if it's a proxy.

The Flow/Doctrine proxy classes usually reside in a folder underneath Data/Temporary. Comparing those paths with the package root paths leads to invalid results.


Related issues

Related to TYPO3.Flow - Bug #50118: Add a method in the PackageManager to get package of class nameResolvedDominique Feyer2013-07-17

Actions

Also available in: Atom PDF