-
Notifications
You must be signed in to change notification settings - Fork 344
Rapid Test Profile: Date of birth can be in the future #631
Comments
@FlightMS Thanks for the report. Internal Tracking ID: EXPOSUREAPP-7224. Best wishes, DS Corona-Warn-App Open Source Team |
Related issue: #605 There is no input validation at all. Seems like that's also the case under Android. Please check. |
Is it also possible to set the time to the future under Android? If yes this should be moved to the documentation repository. EDIT: @fynngodau could you check this, please? |
@Ein-Tim A date picker is shown on Android as well, though it doesn't use spinners like on iOS, but rather a calendar-like view. I can enter a birth date in the future without problems. Specifically due to the layout on Android, it could happen that a user swipes to the month they are born in without realizing that they are looking at the year 2021. This is not super likely to happen, but still, maybe only dates that are more than 1 year ago should be allowed to be entered. It is highly likely that no person under the age of 1 is using the app, and since there can only be 1 RAT profile at the same time, such a change might be rather beneficial overall. |
Okay, thank you for the confirmation @fynngodau! @dsarkar Since this affects Android too, please transfer it to the documentation repository. |
This was fixed for Android in this pr. On iOS it might still be possible to set dob to the future though ... |
I can confirm that this has been fixed under iOS. It's no longer possible to select any date of birth in the future. Here's a screen recording: Date.of.birth.in.the.future.movAttempting to scroll to a date, month or year in the future fails. |
I would suggest to wait for feedback from somebody using Android, just to make sure that the implementation there works (as expected) too. 🙂 |
@Ein-Tim the internal ticket is already confirmed. |
Okay, then I leave it to you @marcauberer to close this (-: |
Will close it as soon as v2.7 is out ... |
@marcauberer I can confirm in CWA Android 2.7.1 that it is no longer possible to select a date of birth for a date in the future. Based also on the #631 (comment) from @Ein-Tim, it should be possible to close this issue. @FlightMS might also like to double-check. |
I can also confirm, that it‘s not possible to set a birth date in future anymore. Thanks to all! |
Avoid duplicates
Technical details
Describe the bug
The date of birth in the Rapid Test Profile can be set to be in the future.
Steps to reproduce the issue
Expected behaviour
The date of birth can be set only for the past. Also the minimun allowed age to use the app should be considered.
Possible Fix
Additional context
Internal Tracking ID: EXPOSUREAPP-7224 Android & iOS
Internal Tracking ID: EXPOSUREAPP-7293
The text was updated successfully, but these errors were encountered: