Project

General

Profile

Actions

Bug #90969

closed

Administration log broken due to unsupported type annotation

Added by Daniel Siepmann over 4 years ago. Updated over 4 years 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 1 (0 open1 closed)

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

Actions
Actions

Also available in: Atom PDF