wordpress-mobile / wordpress-mobile/WordPress-Android

Private post gets published as public if it is created while offline and published after going back online

Open
#10,655 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Bug Posting/Editing
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Steps to reproduce:

  1. Go offline.
  2. Create a private draft.
  3. Enable internet connection.
  4. Click on publish on the post list.

Result: I expected the private draft I created while offline to remain private if I tap the "Publish" button in the Posts List after going back online but if I go back online before I tap publish then the draft becomes public instead of remaining private. (1m56s)

Tested with WPAndroid 13.4-rc-1 on Pixel 3 Android 10.

Found during 13.4 beta testing (internal reference: p5T066-11v-p2#comment-3613).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the offline draft flow on Android: create a private draft offline, reconnect, and publish it from the Posts List. Trace the Posts List publish path and verify that the draft remains private after publishing; the issue provides no file or test names.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.