Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Issue 5364: Fix crash when clicking an "Open Source" category for different language

Description

App crashed for different languages (example Deutsch language) when clicking on an Open Source tag in the categories.

Issue(s)

e/backlog#5364 (closed)

Test environment

Gradle build for 5364-language_crash_app_categories, install the apk and test.

Test procedures

  1. Change device language to Deutsch.
  2. Install App Lounge apk, open it, accept T&C.
  3. Login as Anonymous user.
  4. Open Categories ("Kategorien").
  5. Click on a category with tag "Quelloffen". Check if app list is shown without crashing the app.

Technical details

Screenshot_from_2022-05-04_03-04-01

In this method, the source is hard coded to "Open Source", "PWA" and others.
For a different language, say Deutsch, the "Open Source" is actually converted to "Quelloffen", thus the else block gets executed, which crashes the app.

Screenshots

issue_5364

Check list

  • Self review
  • Test procedure explained
  • Tested on fresh install
  • Tested applied as an update
  • License
  • Internal documentation
  • User documentation

Merge request reports

Loading