Page MenuHomePhabricator

Duplicate Suggested Edits cards displayed on explore feed
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Navigate to the explore feed and scroll down
  • View the Suggested Edits cards as you scroll

What happens?:
The same (duplicate?) Suggested Edits cards appear containing the same suggested edit.

What should have happened instead?:
Different suggested edits should appear

Software version (skip for WMF-hosted wikis like Wikipedia):
Tested on 2.7.50421-beta-2022-10-03
@cooltey & @Sharvaniharan were able to reproduce it also on their devices during a meeting.

Other information (browser name/version, screenshots, etc.):
Screenshots

Screenshot_20221006-093733.png (5×1 px, 842 KB)

Screenshot_20221006-093751.png (5×1 px, 939 KB)

Event Timeline

Looks like the issue is from here:
https://github.com/wikimedia/apps-android-wikipedia/blob/98a6229d73c09c1cd04a686d53dd40d7a1b39477/app/src/main/java/org/wikipedia/feed/suggestededits/SuggestedEditsCardView.kt#L31

Still trying to resolve the issue since it is also related to updateCardContent in SuggestedEditsFeedClient, which does not get called properly.

Will keep working on it tomorrow.