#68994It is not possible to save NULL (replaced by the string "NULL")
Description
If a model property with any simple type (string, int, float, bool) is NULL, it will be replaced by the string literal ‘NULL’ before the update query is created.
I just replaced the following code:
if ($input === NULL) {
return 'NULL';
}
with:
if ($input === NULL) {
return null;
}
in TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper::getPlainValue(...) and everything works fine, at least within my extension.