I have an issue where ckeditor through wysiwyg does not load if the advagg "use core group logic" is unchecked. If I check this box then the ckeditor loads as expected. I do not get any JS errors or warnings at all, just the ckeditor simply doesn't initiate at all. Currently I just use the cookie to bypass aggregation but I don't think our content editors will go for that.

my version numbers are:
advagg: 7.x-2.7 (tried dev as well no luck)
wysiwyg: 7.x-2.2+46-dev
ckeditor: 4.4.5.25cdcad (also tried 4.4.1 since I saw another issue with this version mentioned)

I only have advagg and advagg_mod enabled and i've tried disabled, all and All but JavaScript Libraries to get it to resolve, but the only thing that seems to work is to turn the core grouping back on, which I would like to avoid since it does such a nice job of condensing and moving the files.

any help would be very much appreciated. I can provide debug data if it would be helpful

Comments

FreshJones’s picture

Issue summary: View changes
FreshJones’s picture

Issue summary: View changes
Ravenight’s picture

I have the exact same issue but with only the ckeditor standalone module.

mikeytown2’s picture

Category: Support request » Bug report
mikeytown2’s picture

Version: 7.x-2.7 » 7.x-2.x-dev
Status: Active » Postponed (maintainer needs more info)

Help me create a repo case; using the latest dev of wysiwyg, latest dev of advagg and latest release of ckeditor I can't repo this bug. https://www.youtube.com/watch?v=DhnFtmFFef8

When this does happen what does the console say? Did I miss anything?

Perlini’s picture

I have the same issue. The ckeditor doesn't initiate at all, when "use core group logic" is unchecked. No JS errors, no warnings.

It doesn't work:
- Addvagg 7.x-2.7 + CKEditor 4.4.6
- Addvagg 7.x-2.7 + CKEditor 4.4.7
- Addvagg 7.x-2.7+72-dev + CKEditor 4.4.6

It works
- Addvagg 7.x-2.7+72-dev + CKEditor 4.4.7

mikeytown2’s picture

Status: Postponed (maintainer needs more info) » Postponed

So Perlini you're saying that CKEditor 4.4.7 works, but CKEditor 4.4.6 is broken when "use core group logic" is unchecked; correct?

If that is the case I'll try it again hopefully next week and get a fix out. If this is broken no matter what then can you do this

Add ?advagg-debug=1 to the page that is causing this issue and then going to watchdog and attaching the contents as a file here.

mikeytown2’s picture

Just tested this. 4.4.6 still works. The only way I can get this to fail is if the "Asynchronous JavaScript Execution: Add The async Tag To All Script Tags" is checked. Do you have this setting checked? This setting usually causes a lot of javascript to fail.

mikeytown2’s picture

Status: Postponed » Postponed (maintainer needs more info)
mikeytown2’s picture

Looking into this more and I think it has to do with JS compression. Does this idea pan out? What happens when you disable js compression?

mikeytown2’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Going to mark this as an dup of this #2447757: Add in JSqueeze & JShrink minification code. as it should be fixed for good once these new compression libraries are added.

If I am mistaken and this is not a compression issue then please re-open this issue.