Project

General

Profile

Actions

Bug #85234

closed

DocCommentParser throws exception on install

Added by Marc Scherer almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase
Start date:
2018-06-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
cascade deprecated
Complexity:
easy
Is Regression:
Sprint Focus:

Description

Hi,

while trying to install TYPO3 9.2/9.3 the doc comment parser throws an exception. There's a try in typo3/sysext/extbase/Classes/Reflection/ClassSchema.php on line 305 which causes the error because the cascade annotation does not exist.

try {
    $cascadeAnnotationValues = $docCommentParser->getTagValues('cascade');
    $this->properties[$propertyName]['annotations']['cascade'] = $cascadeAnnotationValues[0];
} catch (\Exception $e) {
}
Actions

Also available in: Atom PDF