Actions
Bug #100797
openSubmitting null to an ObjectStorage Property results in TypeError
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"
Updated by 2eduvu cye1ccfyn over 1 year ago
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>.
Updated by Benni Mack over 1 year ago
- Target version changed from 12 LTS to Candidate for patchlevel
Actions