Skip to content

Offline Support: Post / Page Published as Draft #11420

@diegoreymendez

Description

@diegoreymendez

Description:

While creating a new post / page offline and publishing it, the post / page is queued but shows up as a draft. After successfully uploading it, it still stays as a draft.

Steps To Reproduce

  1. Go offline
  2. Create a Post
  3. Click on Publish button in the Editor and publish
  4. When on the Post List, go online.
  5. Click on the post's Retry button.

Decision

As the user intended to publish the post, retrying should also publish the post
To clarify, we should amend the error state to mention posting. Error message should say "Could not upload media. Post not published." Then its clear that retry relates to posting, not just media.
To make this work we need to differentiate the error state in publishing/saving/scheduling scenarios.

  1. User publishes and media upload error (use case in this issue)
    Error Message: "Could not upload media. Post not published."
    Action and behavior: Retry. Retrying publishes the post if media uploads successfully

  2. User schedules and media upload error (scheduling rather than publishing)
    Error Message: "Could not upload media. Post not scheduled."
    Action and behavior: Retry. Retrying schedules the post if media uploads successfully

  3. User saves and media upload error (user did not intend to publish)
    Error Message: "Could not upload media."
    Action and behavior: Retry. Retrying only retries uploading the media as the user has not changed the post state

Related Issues

wordpress-mobile/WordPress-Android#9933

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions