Open swytch opened 1 year ago
Adding a new image / updating an image, fires a POST to a missing url and then errors in javascript
I can't reproduce this. Please add a series of explicit step-by-step instructions for reproducing this.
using the nested block in the same repo, and adding an image inside will stop the image from saving. Uncaught SyntaxError: Unexpected token '<', "
I can't reproduce this either. Please add a second set of step-by-step instructions for reproducing this one.
We are experiencing probably the same issue. Maybe we can shed some light on how to reproduce this.
First some context / findings:
/admin/news/SilverStripe-Blog-Model-BlogPost/EditForm/field/SilverStripe-Blog-Model-BlogPost/item/659/edit/
/admin/pages/edit/show/659/
inlineEditable
solves the problem alsoReproduction steps
DNADesign\Elemental\Extensions\ElementalPageExtension
on the BlogPost pagetypeUncaught SyntaxError: Unexpected token '<', "
/admin/news/SilverStripe-Blog-Model-BlogPost/EditForm/field/SilverStripe-Blog-Model-BlogPost/item/659/ItemEditForm/
Maybe the screencast makes it a little better to understand. The first part is editing in the Blog-section, the second part in the Pages-section (yet it is the same blogpost / page):
https://github.com/user-attachments/assets/4dba21c9-138b-4e6a-9979-593a057944fd
Adding a new image / updating an image, fires a POST to a missing url and then errors in javascript. Same repo to replicate here : https://github.com/swytch/bugs.
This doesn't inhibit saving the block.
However using the nested block in the same repo, and adding an image inside will stop the image from saving. Uncaught SyntaxError: Unexpected token '<', " - which looks like it's returning the HTML for the editform instead of JSON. I think these are related, so I'm sticking both issues in here.