Project

General

Profile

Actions

Bug #98114

open

Core types sould not get marked as one-to-one relation.

Added by David Blatter almost 2 years ago. Updated about 1 year ago.

Status:
Under Review
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

Also available in: Atom PDF