Page MenuHomePhabricator

Duplicate variant modals present upon upgrading to 6.8
Closed, ResolvedPublicBUG REPORT

Description

How many times were you able to reproduce it?

Every time

Steps to reproduce

  1. Change your device languages to have multiple languages of the same Wiki. For example: English, Chinese Traditional, Chinese Simplified, Serbian, and Serbian (Latin).
  2. Fresh install 6.7.4 from the App Store, launch the app and get to the Explore screen. Confirm in onboarding you see English, Chinese, and Serbian app languages selected.
  3. Upgrade to TestFlight 6.8.0 (1802), launch app

Expected results

Upon launch, cycle through the variant modals by tapping the Got it button. You will see two identical Chinese modals and two identical Serbian modals.

Actual results

You should only see one modal per Wikipedia language, i.e. one Chinese and one Serbian in this case.

Environments observed

App version: 6.8.0 (1802)
OS versions: 14.4
Device model: iPhone 7
Device language: EN

Event Timeline

Tsevener renamed this task from Bug - Duplicate variant onboarding modals present upon upgrading to 6.8 to Bug - Duplicate variant modals present upon upgrading to 6.8.Apr 5 2021, 3:53 PM
Tsevener updated the task description. (Show Details)
Tsevener renamed this task from Bug - Duplicate variant modals present upon upgrading to 6.8 to Duplicate variant modals present upon upgrading to 6.8.Apr 5 2021, 5:13 PM

At some point the results of the map were put into a Set to unique items, but that's not what ended up being committed.

This should be straightforward. I think I may unique another way though, so the languages remain in preferred user order.

LGoto triaged this task as High priority.Apr 5 2021, 6:37 PM
LGoto moved this task from Needs Triage to Bug Backlog on the Wikipedia-iOS-App-Backlog board.
Tsevener added a subscriber: James_Dempsey.
JMinor claimed this task.
JMinor subscribed.

Nice catch