Skip to content
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

Closed
doughatlem opened this issue Oct 8, 2018 · 7 comments
Closed

Autosaving feature jams-up #10416

doughatlem opened this issue Oct 8, 2018 · 7 comments
Labels
Needs Testing Needs further testing to be confirmed.

Comments

@doughatlem
Copy link

doughatlem commented Oct 8, 2018

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:

  1. Go to 'New Post'
  2. Give the post a title and begin typing, including hitting enter for new paragraphs as this seems to trigger the autosaving feature.
  3. Watch for autosaving in the upper right panel of the post.
    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.
  4. Continue with the post, watching for whether autosaving becomes stuck in a loop.

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
gutenburg bug

Desktop (please complete the following information):

  • OS: Mac OS X El Capitan
  • Browser Safari
  • Version 11.1.2
@designsimply designsimply added the Needs Testing Needs further testing to be confirmed. label Oct 15, 2018
@blazevivan
Copy link

Tested this on Win10, Chrome 69.0 and couldn't reproduce it by following the steps above.

@ChemicalSailor
Copy link

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

@james-pierce
Copy link

I have exactly this problem. Lost so much work due to this!!! Super annoying...

@frizzant
Copy link

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 not sure what is causing the infinite saving loop. Also the page is basicly unviewable, and will load for 5minutes then show a load of looped weird content (gutenberg block).

I'm working with Timber, WP Gutenberg and ACF beta 3/4.

@tellthemachines
Copy link
Contributor

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.

@noisysocks
Copy link
Member

Do you have any meta boxes enabled? If so, #6966 may be related.

@youknowriad
Copy link
Contributor

Closing per all the autosave updates. Let's reopen if we have more details to reproduce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Testing Needs further testing to be confirmed.
Projects
None yet
Development

No branches or pull requests

9 participants