Skip to content

Autosave is not retried after failing once #54969

@jsnajdr

Description

@jsnajdr

While working on an autosave issue I noticed another one that would be nice to fix:

  1. Start editing an existing post, draft or published.
  2. Change some content so that autosave is requested.
  3. In devtools, change network to Offline before the autosave request is triggered.
  4. The autosave request will fail. Notice "Update failed, you are probably offline" appears.
  5. Go back online.

Expected result is that the editor sooner or later retries the failed autosave, and I don't need to make any extra edits to trigger it.

Actual result is that the autosave is never triggered again until you make further changes. The existing changes don't get autosaved.

@flootr might be interested in looking at this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] SavingRelated to saving functionality[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions