- Issue created by @j_s
- First commit to issue fork.
- Merge request !432Issue #3438791: #default_value property has to be an entity object or an array of entity objects β (Open) created by jrockowitz
- last update
about 1 year ago 535 pass, 2 fail - Status changed to Postponed: needs info
about 1 year ago 9:35am 5 April 2024 - πΊπΈUnited States jrockowitz Brooklyn, NY
We probably need an example webform that can be used to replicate the issue.
The current MR is guess to the source of the error.
- πΊπΈUnited States j_s
I'm not sure how to replicate yet. I exported the form config and imported to another site and everything works fine there. Maybe there's a submission tripping it up?
I edited line 114 of /core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php to print $element['#default_value'] where it throws that error and it's giving a string of a uid, the 'submitted by' user, instead of the expected instance of EntityInterface.
- Status changed to Closed: cannot reproduce
7 months ago 12:57am 30 September 2024