Open purplespider opened 2 days ago
Works fine locally, issue only occurs once deployed.
Can you please try to find a way to reproduce this locally? If we can't reproduce it, we can't fix it. Clearly the information you provided in "How to reproduce" won't be sufficient on its own.
Yeah, I appreciate that, Guy. With no errors in the console, I'm a bit stumped, though. I was hoping someone familiar with the module may have some ideas for areas to investigate that could be causing the "Failed" message to trigger. Thanks.
Module version(s) affected
4.0.8
Description
Upon clicking "Save" when adding any link, a toast appears stating "Failed to save link" and the modal stays on screen.
However, upon refreshing the page, the link appears in the list, so it was saved.
Works fine locally, issue only occurs once deployed.
No errors in console and no fetch errors.
The only thing different I can see, between when it works locally, and doesn't work on production is locally, after the fetch request to
admin/linkfield/linkForm/0
there are two more fetch requests (toadmin/linkfield/linkForm/13/field/PageID/tree
andadmin/linkfield/data
) netiher of which appear when doing a save on production.Things tried:
How to reproduce
Possible Solution
No response
Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)