-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Autosaving feature jams-up #10416
Comments
Tested this on Win10, Chrome 69.0 and couldn't reproduce it by following the steps above. |
I also had this (or very similar) problem. It presents itself as an infinite loop of autosaving. It occurred for me after clicking the preview button. Each time I clicked the preview button I would get a javascript error in the console, a 403 error when trying to load something to do with a meta box. Sorry I can't be more specific, after I refreshed the editor it works fine. Safari 12.0.1 |
I have exactly this problem. Lost so much work due to this!!! Super annoying... |
I think I got the same issue with gutenberg blocks most likely kind of bricking it. I then can't even open the post anymore, and have to reset it through the database. I'm working with Timber, WP Gutenberg and ACF beta 3/4. |
Hi @doughatlem, are you still experiencing this issue? We have since made changes to autosaving (#16490) so hopefully it works better now. If you can still reproduce the issue, please add a note here and we'll try to follow up further! When testing, please make sure you have all other plugins disabled, and use a default theme (e.g. Twenty Nineteen or Twenty Twenty), so that we can be sure the issue isn't caused by third party code. |
Do you have any meta boxes enabled? If so, #6966 may be related. |
Closing per all the autosave updates. Let's reopen if we have more details to reproduce it. |
The autosaving feature generally works very well, but apparently can get stuck in a way that is impossible to resolve. Clicking on the button did not take it out of the autosaving loop. I attempted to hit ctrl-v (cmd-v since I am working on a mac) to save what I had done, but that did not work either.
Autosave works well enough generally that half way through composing my third post (about 2000 words) in Gutenberg, I began just letting it autosave, rarely clicking "save draft" myself. This was a mistake as it meant I lost about 90 minutes of work.
To [attempt to] Reproduce
I have tried, but not been able to reproduce the behaviour. I have two sub-steps at #4 that might do it, however, as both things happened or potentially happened when this occurred.
Steps to reproduce the behavior:
4a. Switch which wi-fi, hotspot, or ethernet connection you are using if possible
4b. Leave the post active, but do other work or leave the computer to go into screensaver or sleep mode for about an hour.
Expected behavior
I expected that, as previously, the post was autosaving every 30 seconds to a minute. If there was any problem, I thought I would lose a sentence or two at most, not several carefully crafted paragraphs. I have generally liked Gutenberg but will go back to the old editor permanently if this should happen again.
Screenshots
One attached
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: