New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome 83 AJAX requests cancelled - block doesn't save correctly #8664
Chrome 83 AJAX requests cancelled - block doesn't save correctly #8664
Conversation
Nice, thanks for getting to the bottom of this! I looked into why jquery form used I opened a PR to add your changes in the jquery-form repo here: jquery-form/form#572 |
Looks like this PR needs to change a bit to support IE browsers, see my PR linked in my previous comment. Also the file that includes this in edit mode appears to be app.js |
Uses code from @KorvinSzanto pull request jquery-form/form#572
Thanks for the updates @KorvinSzanto, I've amended the vendor version of Also updated the |
This PR modifies minified files directly - isn't that a big no-no? Anyway, untill this gets officially merged, and if you deal with old C5 versions which may be untenable to upgrade, here is a crazy-as-balls shell script you can run to fix up most C5 versions. This assumes your web root is /var/www/html and that you haven't got the concrete core updated so files are actually being loaded from your updates folder. Also tries to commit stuff to git before changing anything so you can roll back. These js files are cached pretty hard, so you will need to clear cache in Chrome before seeing this take effect - if it works for you at all - no guarantees from here, just thought I'd post it in case it helps somebody else
|
Latest Google Chrome update (v83.0.4103.97) appears to have solved this issue for me. |
Chromium patched this earlier this week and Version 83.0.4103.97 (anything greater than 83.0.4103.96) contains the patch |
Been having issues using Concrete5 on Chrome 83 where upon block save a blank JS error box appears. Upon page refresh it's clear the block did save as changes are reflected.
I can see the AJAX request made but in the Chrome network tab it's status is labelled as "cancelled". I can see the server respond
200
hence how the data is being saved.This issue did not happen in MAMP Pro for me but I did find it affected Concrete5.7 (Ubuntu 16.04 nginx apache2 PHP7.1) and Concrete5 v8 (Ubuntu 18.04 nginx apache2 7.3) on cloud servers.
Found this issue and a fix that worked here - essentially updating a small amount of code in
jquery-form.js
and similar files.