Phone number in RAT Profile not saved (no message, just gone) when entered in a particular format
See original GitHub issueAvoid duplicates
- Bug is not mentioned in the FAQ
- Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository I DO NOT KNOW, HAVE NO IOS DEVICE WITH CWA
- Bug is not already reported in another issue
Technical details
- Device name: Google Pixel 4a (5G)
- Android version: 12
- App version: 2.21.1
Describe the bug
Some phone numbers in quick test profiles are not saved and there is no message or error shown, the data is just lost unnoticeably.
Steps to reproduce the issue
Create a quick test profile or update an existing quick test profile.
Important for robust reproduction: There shall be no phone number entered yet.
If you open an existing profile with number, clear the number first and save before you continue, otherwise it might be that you cannot reproduce the effect.
Enter this phone number:
+49 172 123 45678
(the spaces are important) and save.
–> The number is not saved.
Now edit again and enter this same number without spaces (while entering “the system” will insert some spaces for you and you will get)
+49 172 12345678
–> Then the number is saved.
Now it gets really weird.
Edit again and just insert a space between the “123” and the “45678” so you get to my first example –> Now the number is saved in the first format.
Expected behaviour
Phone number is always saved.
If CWA however accepts only certain formats and will not save others, an error message must be sent.
Internal Tracking ID: EXPOSUREAPP-12964
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:12 (10 by maintainers)
Top GitHub Comments
@dsarkar You’ve added https://github.com/corona-warn-app/cwa-app-android/labels/mirrored-to-jira to this issue. Will you also include the internal ID here?