Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When the embed JSON is edited manually and is done invalid by mistake, whole CKEditor is broken after the form submission which makes it hardly possibly to fix the JSON.
Comment | File | Size | Author |
---|---|---|---|
#2 | video_embed_field-wysiwyg-handle-invalid-json-2873141-2-D8.patch | 684 bytes | Alex Bukach |
Comments
Comment #2
Alex Bukach CreditAttribution: Alex Bukach commentedWe should gracefully exit when the JSON is invalid.
Comment #4
Alex Bukach CreditAttribution: Alex Bukach commentedThe fails looks having no relation to the patch at all. Shouldn't one re-run the tests for the module itself against the latest version of Drupal?
Comment #5
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedThat does indeed look like a fail in HEAD.
I'm not sure about silently failing. At least when it errors out you have an indication of what is wrong. Perhaps we should throw an error after catching the JSON parsing error describing in more detail how to fix the problem?
Comment #6
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedWith the advent of Media in core, the Video Embed Field module has moved to being minimally maintained. Only issues which assist in the migration to Media in core will be committed. To read more about this decision, please see: #3089599: Maintenance status for Video Embed Field now that media is in core.