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

fix: Stuck on Setting up Wire after canceling E2EI during login [WPB-10046] 🍒 🍒 #2890

Conversation

borichellow
Copy link
Contributor

@borichellow borichellow commented Jul 23, 2024

BugWPB-10046 [Android] When cancelling generating cert with second account, user is stuck on setting up wire screen after second login

This PR was manually cherry-picked based on the following PR:

Original PR description:


What's new in this PR?

Issues

When the user wants to login with his second account, and cancels generating his certificate and then tries to login again, he’s stuck on setting up wire screen.

Causes (Optional)

When user trying to login to the same acc as already tried, client is already exist. Checking "if E2EI is required" was missed for existed clients.

Solutions

Add checking if E2EI is required for the case when user login into existed client (VerifyExistingClientUseCase).
And update unit tests.

Copy link
Contributor

github-actions bot commented Jul 23, 2024

Test Results

2 958 tests   2 941 ✔️  1h 3m 53s ⏱️
       5 suites       17 💤
       5 files           0

Results for commit 0393899.

♻️ This comment has been updated with latest results.

@datadog-wireapp
Copy link

datadog-wireapp bot commented Jul 23, 2024

Datadog Report

Branch report: fix/stuck_on_setting_up_wire_after_canceling_e2ei_during_login-fixed-cherry-pick-cherry-pick
Commit report: d620146
Test service: kalium-jvm

✅ 0 Failed, 3018 Passed, 105 Skipped, 12.85s Total Time

…ter_canceling_e2ei_during_login-fixed-cherry-pick-cherry-pick
@MohamadJaara MohamadJaara enabled auto-merge (squash) July 23, 2024 15:07
Copy link

sonarcloud bot commented Jul 23, 2024

@MohamadJaara MohamadJaara merged commit 1ef12c2 into release/candidate Jul 23, 2024
22 checks passed
@MohamadJaara MohamadJaara deleted the fix/stuck_on_setting_up_wire_after_canceling_e2ei_during_login-fixed-cherry-pick-cherry-pick branch July 23, 2024 16:38
github-actions bot pushed a commit that referenced this pull request Jul 23, 2024
@echoes-hq echoes-hq bot added the echoes: bugs Technical or functional defects in the product label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants