wordpress-mobile / wordpress-mobile/WordPress-Android
Reader: Post comment disappears after changing the phone orientation
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
The comment must be posted and remain in the comment section correctly.
Actual behavior
After a fresh install, when trying to comment on a blog post from the reader the "Unable to post your comment" error message is displayed. After a few attempts, the comment is sent, but when changing the phone's orientation, the comment disappears.
Steps to reproduce the behavior
- Fresh install WP Android app
- Login
- Go to the reader (on any tab, I'm using Discover)
- Choose a post where the comment section is enabled and requires moderation
- Click on the balloon to add a comment
- Write a comment and click on the reply button
- Note the "Unable to post your comment" error message is displayed
- Try to hit the reply button a few more times until the comment gets sent
- Once the comment is visible on the post, change you phone orientation
- Note the comment is no longer visible in the comments section
- If you choose another post and add a comment, the "Unable to post your comment" message will no longer be displayed, it just happens in the first attempt
Videos available on GDrive
Tested on [device], Android [version], WPAndroid [version]
Motorola Moto G9 Play, Android 11, WPAndroid 20.6-rc-3
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
The issue names no files, tests, or entry points. First reproduce the Reader comment flow using the listed Android and WPAndroid versions, then trace how the first comment post and orientation change affect the visible comment list; done means the comment posts without the initial error and remains visible after rotation.
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
- 25/100