question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transposed "Max, Mustermann" in screenshots

See original GitHub issue

Avoid duplicates

Technical details

  • Device name: Samsung Galaxy A52 5G SM-A526B/DS
  • Android version: 11
  • App version: 2.7.1, 2.8.0, 2.9.0-RC1 (pre-release)

Describe the bug

Screenshots generated by RecoveryCertificateDetailFragmentTest.kt and VaccinationDetailsFragmentTest.kt render the example name as “Max, Mustermann”, where Name and First Name are transposed.

max mustermann

for example:

RecoveryCertificateDetailsFragment_recovered.png

VaccinationDetailsFragment_expired.png

Incorrect screenshots are currently also contained in the draft PR https://github.com/corona-warn-app/cwa-website/pull/1668 “Android Screenshots for Version: 2.9.0” for later publishing to https://www.coronawarn.app/en/screenshots/ when 2.9.x is released.

Steps to reproduce the issue

In CWA:

  1. Tap “Certificates” tab on Start Screen (tap “CONTINUE” if prompted)
  2. Tap “+ CERTIFICATE”
  3. Scan a valid vaccination certificate
  4. Check that the name under “Name, Vorname / Name, First Name” is rendered in that order

In Android Studio:

  1. Run RecoveryCertificateDetailFragmentTest.kt
  2. Run VaccinationDetailsFragmentTest.kt
  3. View > Tools Windows > Device File Explorer
  4. Go to /data/data/de.rki.coronawarnapp.test/screenshots
  5. Note that example name is incorrectly rendered as “Max, Mustermann”

Expected behavior

From CWA Android 2.7 onwards the formatting of the name was corrected for regular app usage, so screenshots should show the example name as “Mustermann, Max”.

Possible Fix

In RecoveryCertificateDetailFragmentTest.kt and in VaccinationDetailsFragmentTest.kt

change every { fullNameFormatted } returns "Max, Mustermann" to every { fullNameFormatted } returns "Mustermann, Max"

Additional context

Issue https://github.com/corona-warn-app/cwa-app-android/issues/3692 “Vaccination Details Screen: Firstname Surname in wrong order” was fixed through PR https://github.com/corona-warn-app/cwa-app-android/pull/3826 which fixed the issue in CWA Android 2.7. for:

  • Recovery Certificates
  • Test Certificates
  • Vaccination Certificates

Internal Tracking ID: EXPOSUREAPP-9233

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
dsarkarcommented, Sep 8, 2021

@MikeMcC399 Thanks for confirming the fix. Forwarded to internal ticket.

1reaction
MikeMcC399commented, Sep 8, 2021

The issue has been corrected for Android screenshots for CWA 2.9 published today, Sept 8, 2021, for example:

and for future version screenshots.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Edit objects inside a listbox? - python
Show activity on this post. Here is a example screenshot of my 3 listboxes: ... Thomas Müller , 86 , 10000 to Max...
Read more >
Untitled
Mustafabad constituency result, Update table contents word mac, Deaths january 1997, Agents of shield episode 1 pilot, Pogliaghi bike?
Read more >
News Burē VnZ
Trece doctor house, Copt hall golf club, Saucisse de francfort enceinte, Car alarm installation instructions, Air max uptempo 1995, One-eyed monster full ...
Read more >
Untitled
Jarecki fantazja download, 1987 mitsubishi mighty max starter, Toad in the hole ... Francisco warleta biografia, Adam smith needs revision sheet music, ...
Read more >
Untitled
#rivals Thoi trang thieu nhi 4, Max steel action figures for sale, ... Elisabeth grohmann, Lumia 929 screenshot, Apendices cutaneos en animales, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found