1. Click on "E" Entity Embed Icon
2. Select Image in Media Library (doesn't matter if iframe or modal)
3. Choose image style (doesn't matter which)
4. Click on "Embed" redirects to this page: http://localhost.dev/en/entity-embed/dialog/basic_html/media?q=en/entity... instead of inserting the item in CKeditor

Any idea?

UPDATE: the error can be reproduced quite easily and stable if the advagg is enabled. Using advagg 8.x-2.0 and also reproduced with 8.x-2.x-dev.

Comments

kjauslin created an issue. See original summary.

kjauslin’s picture

Title: Click on "Embed" redirects to full page » Embed module incompatible with advagg
Issue summary: View changes
kjauslin’s picture

Issue summary: View changes
kjauslin’s picture

Issue summary: View changes
Issue tags: +drupalmountaincamp
P44T’s picture

Thank you very much for finding the source of this problem. I was experiencing exactly the same (with some versions of entity_embed, not all) for months now. See https://www.drupal.org/node/2820188. I disabled advagg in the meantime and I'll be following this issue.

das-peter’s picture

@P44T Could you check out this advagg issue: #2833686: Issues with ajax commands / apply bugfix from core
The current advagg dev was patched and solved a pretty nasty JS caching bug.
I'll try to see if I can do a test-run asap. too.

nickdickinsonwilde’s picture

Status: Active » Fixed

Yes, that was due to AdvAgg caching and fixed in the latest release as well as dev now.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.