wordpress-mobile / wordpress-mobile/WordPress-Android

Previous days posts not loaded in the app

Open
#15,213 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Medium [Type] Bug Posts + Pages
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

All users, regardless of their role, should be able to see their own posts in the app's Posts screen (My Site → Blog Posts → Published tab).

Actual behavior

In certain circumstances, authors cannot see their own posts in the app's Posts screen. This appears to happen when other users of the site publish enough posts to "push" the authors posts off the result page. This shouldn't happen, an author is requesting their posts, so the amount of posts published by other users shouldn't influence here.

Note: Other roles, such as contributors, may also be affected.

Steps to reproduce the behavior

I haven't independently reproduced this on Android (only on iOS in https://github.com/wordpress-mobile/WordPress-iOS/issues/17042).

  1. Locate a WP.com site (e.g. a Simple site) and a site user with an author role
  2. Ensure the author has published posts (check on WP.com if needed)
  3. Publish many posts from other users (on iOS, 40 posts are needed, but it appears that it might be more on Android)
  4. Log in to the WPAndroid app
  5. Locate the site and navigate to My Site → Blog Posts → Published tab
  6. Notice that no posts are shown
Tested Pixel 3, Android 11, WPAndroid 17.8-rc-1

Internal reference p4a5px-2L9-p2

This issue mirrors its WPiOS counterpart https://github.com/wordpress-mobile/WordPress-iOS/issues/17042.

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 at the Android app's My Site → Blog Posts → Published screen and compare the behavior with the linked WordPress-iOS issue. Verify that an author's own published posts remain visible even after other users publish enough posts to fill earlier results; include contributors if the same behavior applies.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.