EyeSeeTea / malariapp

Android app to help with health center assessments (development repository)
GNU General Public License v3.0
6 stars 3 forks source link

Avoid NullPointerException to retrieve user attributtes #2476

Closed xurxodev closed 2 years ago

xurxodev commented 2 years ago

:gear: branches

app: Origin: feature/avoid_null_pointer_exception_to_pull_user_attributtes Target: v1.6_hnqis bugshaker-android: Origin: development_android_x
EyeSeeTea-SDK: Origin: feature/development SDK: Origin: feature-2.30_upgrade_gradle

:tophat: What is the goal?

Fix NullPointerException to retrieve user attributes

:memo: How is it being implemented?

This bug is weird and I have not reproduced it because is produced after login and when the user is null to retrieve its attributes. I think is not possible in a normal process. Anyway I have added a null protection

:boom: How can it be tested?

:floppy_disk: Requires DB migration?

:art: UI changes?