Bug #90969

Administration log broken due to unsupported type annotation

Added by Daniel Siepmann 10 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Start date:
2020-03-31
Due date:
2020-03-31
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

https://github.com/TYPO3/TYPO3.CMS/commit/555e116f405295edf63394b647d680a9d46de0f7 adjusted the type annotation for two properties in the model.
These are not supported by extbase and result in the following error:

(1/1) #1579965021 TYPO3\CMS\Extbase\Persistence\Generic\Mapper\Exception\UnknownPropertyTypeException
The type of property TYPO3\CMS\Belog\Domain\Model\LogEntry::tableName could not be identified, therefore the desired value (0) cannot be mapped onto it. The type of a class property is usually defined via php doc blocks. Make sure the property has a valid @var tag set which defines the type.


Related issues

Follows TYPO3 Core - Task #90893: Enable phpstan DefaultValueTypesAssignedToPropertiesRuleClosed2020-03-30

Actions

Also available in: Atom PDF