Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After committing #2398347: Panopoly Magic abuses FPP revisions the livepreview.feature is taking way to long - up to 15 minutes in some reports.
In my testing, everything appears to be running fine until a certain point in the following scenarios:
- Page should match live preview after saving the widget but before saving the page
- Live preview should work equally well with a reusable widget
And possibly others (I killed my test run before it got too far).
It appears like something is happening that's causing our check to see if AJAX has finished after each step to time out (causing a 5 second wait after each step) - but I haven't been able to confirm that yet.
Comment | File | Size | Author |
---|---|---|---|
#2 | panopoly_wysiwyg-slow-tests-2449495-2.patch | 734 bytes | dsnopek |
Comments
Comment #1
dsnopekYeah, it looks like
jQuery.active
is stuck at1
because we get this error when saving the Text widget:... in
Drupal.wysiwyg.editor.attach.tinymce()
.It appears it's trying to run
Drupal.wysiwygAttach()
on the WYSIWYG text area that is no longer present on the page.I'm not sure yet what is causing this to happen. I thought it might be another regression from the CTools upgrade, but I reverted to 1.5 and 1.4 and neither helped.
These issues seem to be related, but the patches don't fix it:
Comment #2
dsnopekAha! This patch to the 'wysiwyg' module appears to fix it:
#1757684: Ajax error on Add another item
Here's a patch to get that into panopoly_wysiwyg.make!
Comment #3
dsnopekWith that patch, I'm able to run all of livepreview.feature locally in 2m40s! Committing.