#100797Submitting null to an ObjectStorage Property results in TypeError
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”</someclass>
Reviews 2
Related issues 1
History 614
-
2eduvu cye1ccfyn commented 05/11/23, 20:31
-
Benni Mack changed target version 06/05/23, 09:21
-
Gerrit Code Review pushed patch set 1 for main to change 89660 status
NewUnder Review 06/06/25, 10:23 -
Gerrit Code Review pushed patch set 2 for main to change 89660 06/06/25, 10:45
-
Gerrit Code Review pushed patch set 3 for main to change 89660 06/06/25, 11:31
-
Gerrit Code Review pushed patch set 4 for main to change 89660 06/06/25, 11:37
-
Gerrit Code Review pushed patch set 5 for main to change 89660 04/22/26, 06:34
-
Gerrit Code Review pushed patch set 6 for main to change 89660 05/03/26, 08:40
-
Benni Mack changed Sprint Focus On Location Sprint 08/06/26, 16:02
-
Gerrit Code Review pushed patch set 7 for main to change 89660 09/02/26, 13:42
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 95567 09/02/26, 14:21
-
Georg Ringer changed Related to #76202 09/02/26, 14:28
-
Stefan Froemken commented and changed status
Under ReviewResolved done0 %100 % 09/02/26, 14:35Applied in changeset commit:bbfa9175c4e5099779adceea527454cedd8677e2.
-
Benni Mack changed status
ResolvedClosed 09/08/26, 10:03
important information by The error “spl_object_hash(): Argument #1 ($object) must be of type object, null given” is displayed when an empty value, such as one from an optional select field, is submitted and stored in an extbase model property https://beiteck.com/rental of type ObjectStorageSomeClass>.