- Issue created by @dalin
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
Have you seen any errors in your log that may be related?
At this point, if you did not do #2 then the normal thing happens: the modal dialogue closes and your image is inserted into CKEditor. If did do #2, then you are instead redirected to the form submission URL, and you see something like this:
The platform where we're experiencing this uses Groups module and each group is on a separate domain. I'm not sure if that's part of the formula.
I did notice that when successful, the final HTTP request is to
/media-library?media_library_opener_id=media_library.opener.editor&[a-bunch-of-other-stuff]
but when it fails it goes to
/media-library/image?[a-bunch-of-other-stuff]
I think that means that in a previous AJAX step the form action was set to the wrong URL.
I realize that this description is wholly unsatisfying. There are several issues in the DropzonJS issue queue that could be related. However, due to the difficulty with reproducing the error, it hasn't been worthwhile to try patches one-by-one. Instead, we've just uninstalled DropzoneJS. So this issue is mostly intended as a marker that others can find and add more details.
Postponed: needs info
2.0
Code
Have you seen any errors in your log that may be related?