« Previous | Next » 

Revision 751b4b55

ID751b4b55594ebaa334a007d8c98999dba04aafb1

Added by Bastian Waidelich about 8 years ago

[BUGFIX] Fix resolving of relative namespaces in parent classes

With I28fd7c7993ea79714cc62032fcc332ac8cf9d4bc the ReflectionService
resolves relative and aliased namespaces automatically.
This doesn't work for inherited classes though because the code only
considered the current class, not it's parents.

With this change code like this will work::

use TYPO3\Flow\Security\Context;
class SomeParentClass {
/**
  • @var Context
  • @Flow\Inject
    */
    protected $securityContext;
// ...
}
class SomeChildClass extends SomeParentClass {
}

Change-Id: Ie4b931a03a94d506890e996b9d8bae7d0d1a2e14
Fixes: #50909
Related: #46008
Releases: master

  • added
  • modified
  • copied
  • renamed
  • deleted