Project

General

Profile

Actions

Bug #100797

open

Submitting null to an ObjectStorage Property results in TypeError

Added by Daniel Hoffmann about 1 year ago. Updated 11 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Extbase
Start date:
2023-05-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When submitting an empty value e.g. from a optional select field, which is stored in a extbase model property of type ObjectStorage<SomeClass>, the ObjectStorageTypeConverter tries to attach null to an ObjectStorage which causes the error "spl_object_hash(): Argument #1 ($object) must be of type object, null given"

Actions

Also available in: Atom PDF