Closed MikeMcC399 closed 3 years ago
Please let me know if you would like a PR to correct this issue.
@MikeMcC399 Thanks. I Will get back to about the PR. Internal Tracking ID: EXPOSUREAPP-9233
@MikeMcC399 Feedback from dev:
"That is fine, we can accept such PR "
Draft PR #3997 is created. I want to add screenshots before submitting for review.
Changed screenshots files now added to PR #3997 for verification.
PR https://github.com/corona-warn-app/cwa-app-android/pull/3997 "Correct to "Mustermann, Max" in certificate screenshots (EXPOSUREAPP-9233) (COMMUNITY)" is merged and included in v2.9.0-RC1, ready for release with version 2.9.
@MikeMcC399 Thank you for the contribution!
The issue has been corrected for Android screenshots for CWA 2.9 published today, Sept 8, 2021, for example:
and for future version screenshots.
@MikeMcC399 Thanks for confirming the fix. Forwarded to internal ticket.
Avoid duplicates
Technical details
Describe the bug
Screenshots generated by
RecoveryCertificateDetailFragmentTest.kt
andVaccinationDetailsFragmentTest.kt
render the example name as "Max, Mustermann", where Name and First Name are transposed.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:
In Android Studio:
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 inVaccinationDetailsFragmentTest.kt
change
every { fullNameFormatted } returns "Max, Mustermann"
toevery { 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:
Internal Tracking ID: EXPOSUREAPP-9233