Bug #89011
closedInvalidArgumentException due to ActionController property annotation
100%
Description
In the ActionController a property annotation causes an InvalidArgumentException in \phpDocumentor\Reflection\Fqsen::__construct. By removing the semicolon at the end of HashService this exception does not appear anymore.
/**
* @var HashService;
*/
protected $hashService;
Updated by Alexander Schnitzler about 5 years ago
- Status changed from New to Accepted
- Assignee set to Alexander Schnitzler
- Priority changed from Should have to Must have
- Is Regression set to Yes
Updated by Gerrit Code Review about 5 years ago
- Status changed from Accepted 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 https://review.typo3.org/c/Packages/TYPO3.CMS/+/61556
Updated by Benjamin Franzke about 5 years ago
Fully agree, that this is a bug, but one question, can you provide a backtrace?
I don't see where this Exception is actually triggered in core.
The InvalidArgument Exception is catched in https://github.com/TYPO3/TYPO3.CMS/blob/a73ba8f9f8ecd75d7fff59dfa992262ba0db49d2/typo3/sysext/extbase/Classes/Reflection/PropertyInfo/Extractor/PhpDocPropertyTypeExtractor.php#L117
Does this Exception happen in regular ActionController dispatches, or do you use phpDocumentor/reflection directly in own code?
Updated by Gerrit Code Review about 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61556
Updated by Anonymous about 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c4eb6a565edd15ecd2f127dc12ab2d756f16491c.