- Merge request !740[#3547518] feat: InvalidArgumentException if YAML contains invalid render array β (Open) created by jrockowitz
YAML allows custom tags: https://symfony.com/doc/current/components/yaml.html#parsing-and-dumping...
I don't think this is useful in webform but it makes the edit form crash:
InvalidArgumentException:
"foo" is an invalid render array key. Value should be an array but got a object.
at core/lib/Drupal/Core/Render/Element.php:97
at Drupal\Core\Render\Element::children()
(modules/contrib/webform/src/WebformEntityElementsForm.php:234)
at Drupal\webform\WebformEntityElementsForm->addWebformTypePrefixRecursive()
(modules/contrib/webform/src/WebformEntityElementsForm.php:216)
Don't enable webform_ui.
Browse to /admin/structure/webform/manage/[webform_id].
Save this YAML:
foo: !my_tag { foo: bar }
This error should be handled more gracefully.
Active
6.3
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.