Actions
Bug #85932
closedIncorrect annotation for property "message" in class "Error".
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2018-08-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Try to create action like here :
/**
* @param \TYPO3\CMS\Extbase\Error\Result|null $validationErrors
*/
public function listContactAction(\TYPO3\CMS\Extbase\Error\Result $validationErrors = null)
{
}
Now try to open frontend, error is :
Oops, an error occurred!
There is no @var annotation for property "message" in class "Error".
How I check problem is here web/typo3/sysext/extbase/Classes/Error/Result.php
Now we have
/**
* @var Error[]
*/
protected $errors = [];
should be :
/**
* @var \TYPO3\CMS\Extbase\Error\Error[]
*/
protected $errors = [];
Files
Actions