Skip to content

Remote-auto-saved not automatically invoked when editing published post #10349

@malinajirka

Description

@malinajirka

This issues is currently reproducible only on issue/10174-update-changes-confirmed-at.

After editing a published post and exiting the editor, the remote auto-save does not seem to get executed right away. I can force the remote auto-save by swiping to refresh. Here is a video showing this. And the steps:

  1. Edit a published post.
  2. Make changes.
  3. Exit the editor by pressing the Back button.
  4. Confirm in Calypso that no revision was created.
  5. 00:23 Swipe to refresh. An upload feedback UI will show that the post is being remote auto-saved.
  6. Confirm in Calypso that a revision was created.

Thank you @shiki for finding and recording the issue;)!

Note: This if statement is causing these troubles. I think we should completely get rid of it and get rid of savePostLocallyAndFinishAsync. As we always want to invoke remote-auto-save (with exception for self-hosted sites). Just be careful that we'll need to handle

PendingDraftsNotificationsUtils.scheduleNextNotifications(EditPostActivity.this, mPost);
.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions