Actions
Bug #98114
openCore types sould not get marked as one-to-one relation.
Status:
New
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2022-08-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
The method TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DateMapFactory::setRelations marks properties as one-to-one relation if their type is a classname. This should not be done for core types (implementing TYPO3\CMS\Core\Type\TypeInterface).
When inserting objects using the PersistenceManager, a value of '0' is set for relation fields. Depending on the column type, this may produce a sql error.
Actions