- Issue created by @rkoller
When you are creating a node with a media with contextual modifications field, after filling out all the fields, adding all the media items, and you then want to directly override the chosen media items in the context of this content item you run into an error message("Oops, something went wrong. Check your browser's developer console for more details."):
[Error] AjaxError:
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /node/add/playground?ajax_form=1&_wrapper_format=drupal_ajax
StatusText: parsererror
ResponseText: TypeError: Drupal\Component\Utility\Html::escape(): Argument #1 ($text) must be of type string, null given, called in /var/www/html/repos/drupal/core/lib/Drupal/Component/Render/FormattableMarkup.php on line 238 in Drupal\Component\Utility\Html::escape() (line 433 of /var/www/html/repos/drupal/core/lib/Drupal/Component/Utility/Html.php).
(anonymous function) (ajax.js:1221)
complete (ajax.js:610)
(anonymous function) (jquery.form.js:301)
c (jquery.min.js:2:23218)
fireWith (jquery.min.js:2:23975)
E (jquery.min.js:2:69916)
(anonymous function) (jquery.min.js:2:72285)