wordpress-mobile / wordpress-mobile/WordPress-Android
Private post gets published as public if it is created while offline and published after going back online
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Steps to reproduce:
- Go offline.
- Create a private draft.
- Enable internet connection.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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