Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to login to another account once we have logout from the current account #1289

Closed
AchalaBelokar opened this issue Feb 6, 2024 · 0 comments
Assignees

Comments

@AchalaBelokar
Copy link

AchalaBelokar commented Feb 6, 2024

Describe the bug
Once we login with account A details sync got completed as expected after that if we logout and try to login with account B details app doesn't response as expected
for new login we need to clear the data and cache

To Reproduce
Steps to reproduce the behavior:

  1. Login with Ach@sakhiapp
  2. Click on sync
  3. Logout with that user
  4. Login with taqim@sncu
  5. see the error

Expected behavior
User is able to login that user easily

Screenshots

az_recorder_20240206_232133.mp4

Analysis:

  • Issue not happening in the previous release
  • Issue happening with new users in prerelease as well

Log stops with this:

02-06 08:38:48.430  8212  8257 D ReactNativeJS: [8:38:48:430] [LoginView][Debug] render
02-06 08:38:51.281  8212  8257 D ReactNativeJS: [8:38:51:281] [LoginView][Debug] render
02-06 08:38:51.299  8212  8257 D ReactNativeJS: [8:38:51:299] [BaseService][Debug] Deleting all data from DashboardFilter
02-06 08:38:51.306  8212  8257 D ReactNativeJS: [8:38:51:306] [BaseService][Debug] Deleting all data from ConceptAnswer
02-06 08:38:51.309  8212  8257 D ReactNativeJS: [8:38:51:309] [BaseService][Debug] Deleting all data from Concept
02-06 08:38:51.313  8212  8257 D ReactNativeJS: [8:38:51:313] [BaseService][Debug] Deleting all data from EncounterType
02-06 08:38:51.318  8212  8257 D ReactNativeJS: [8:38:51:318] [BaseService][Debug] Deleting all data from Gender
02-06 08:38:51.321  8212  8257 D ReactNativeJS: [8:38:51:321] [BaseService][Debug] Deleting all data from UserDefinedIndividualProperty
02-06 08:38:51.324  8212  8257 D ReactNativeJS: [8:38:51:324] [BaseService][Debug] Deleting all data from LocationMapping
02-06 08:38:51.325  8212  8257 D ReactNativeJS: [8:38:51:325] [BaseService][Debug] Deleting all data from AddressLevel
02-06 08:38:51.329  8212  8257 D ReactNativeJS: [8:38:51:329] [BaseService][Debug] Deleting all data from EmbeddedKeyValue
@github-project-automation github-project-automation bot moved this to New Issues in Avni Product Feb 6, 2024
@mahalakshme mahalakshme moved this from New Issues to Ready in Avni Product Feb 7, 2024
@mahalakshme mahalakshme removed the bug label Feb 7, 2024
@1t5j0y 1t5j0y moved this from Ready to In Progress in Avni Product Feb 7, 2024
@1t5j0y 1t5j0y self-assigned this Feb 7, 2024
1t5j0y added a commit to avniproject/avni-models that referenced this issue Feb 7, 2024
1t5j0y added a commit that referenced this issue Feb 7, 2024
@1t5j0y 1t5j0y moved this from In Progress to Code Review Ready in Avni Product Feb 7, 2024
@petmongrels petmongrels moved this from Code Review Ready to In Code Review in Avni Product Feb 7, 2024
@petmongrels petmongrels moved this from In Code Review to QA Ready in Avni Product Feb 7, 2024
@AchalaBelokar AchalaBelokar moved this from QA Ready to In QA in Avni Product Feb 8, 2024
@AchalaBelokar AchalaBelokar moved this from In QA to Done in Avni Product Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants