Problem/Motivation
After upgrading from 9.4.6 to 9.5.10 pages using AJAX functionality, such as clicking a filter checkbox and having the filter applied, fail silently.
I tried upgrading to 9.5.9 instead, and the same result.
In inspecting an example page, and enabling pausing on both uncaught and caught exceptions, clicking a checkbox throws:
"stack": "Error: Failed to execute 'pushState' on 'History': function isInProgress() {\n return ajax.ajaxing;\n } could not be cloned.\n at c.<computed> [as pushState] (https://www.googletagmanager.com/gtag/js?id=G-1234567&l=dataLayer&cx=c:476:265)\n at addState (https://mysite.ddev.site/modules/contrib/views_ajax_history/js/views_ajax_history.js?v=9.5.10:165:13)\n at Drupal.Ajax.beforeSubmit (https://mysite.ddev.site/modules/contrib/views_ajax_history/js/views_ajax_history.js?v=9.5.10:310:7)\n at Object.beforeSubmit (https://mysite.ddev.site/core/misc/ajax.js?v=9.5.10:190:21)\n at q.fn.ajaxSubmit (https://mysite.ddev.site/core/assets/vendor/jquery-form/jquery.form.min.js?v=4.3.0:22:2557)\n at Drupal.Ajax.eventResponse (https://mysite.ddev.site/core/misc/ajax.js?v=9.5.10:293:20)\n at HTMLInputElement.<anonymous> (https://mysite.ddev.site/core/misc/ajax.js?v=9.5.10:247:19)\n at HTMLInputElement.dispatch (https://mysite.ddev.site/core/assets/vendor/jquery/jquery.min.js?v=3.6.3:2:43336)\n at y.handle (https://mysite.ddev.site/core/assets/vendor/jquery/jquery.min.js?v=3.6.3:2:41320)\n at Object.trigger (https://mysite.ddev.site/core/assets/vendor/jquery/jquery.min.js?v=3.6.3:2:71942)"
}
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comments
Comment #2
cilefen commentedThis is possibly a duplicate of #3295914: Failed to execute 'pushState' on 'History'. What is the version of views_ajax_history?
Comment #3
j. ayen green commentedviews_ajax_history is 8.x-1.6
Comment #4
cilefen commentedYou should upgrade it.
Comment #5
j. ayen green commentedThat did it! Is there a reason that this did not get done doing the overall composer upgrade, and does not show up in the composer outdated output?
Comment #6
cilefen commentedThat's impossible to say, not having knowledge of the contents of composer.json on that site.
Comment #11
cilefen commented