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

[HOLD for payment 2023-04-07] [HOLD for payment 2023-03-17] Web - Profile - If user deletes the number without validating, page becomes unresponsive #15725

Closed
1 of 6 tasks
kbecciv opened this issue Mar 7, 2023 · 16 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production DeployBlockerCash This issue or pull request should block deployment Engineering Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Mar 7, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

Pre-Condition: User has to validate an account number prior to signing in (You can add a number and then sign out and sign back in)

  1. Access staging.new.expensify.com
  2. Click on Profile icon (Notice the green dot indicating that the account needs to be validated)
  3. Click on Profile > Contact Method > Remove the number (Without validating it)
  4. Attempt to close out the page

Expected Result:

User expects to be able to navigate and close the page after deleting the number

Actual Result:

The page freezes and all buttons become unresponsive, the only way to fix this is via refreshing

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome
  • MacOS / Desktop

Version Number: 1.2.80.0

Reproducible in staging?: Yes

Reproducible in production?: No

If this was caught during regression testing, add the test name, ID and link from TestRail:

Email or phone of affected tester (no customers):

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5967864_If_user_deletes_a_number_that_needs_to_be_verified_after_signing_in__buttons_dont_respond.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Mar 7, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Mar 7, 2023
@kbecciv
Copy link
Author

kbecciv commented Mar 7, 2023

On PROD this has not been implemented yet

Bug5967864_PROD.mp4

@OSBotify
Copy link
Contributor

OSBotify commented Mar 7, 2023

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@MelvinBot
Copy link

Triggered auto assignment to @aldo-expensify (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@aldo-expensify
Copy link
Contributor

Reproduced in staging with my main account

@aldo-expensify
Copy link
Contributor

Clicking the menu items call the onPress={() => Navigation.navigate(ROUTES.getEditContactMethodRoute(partnerUserID))} just fine, but Navigation.navigate seems to be decided not to do anything:

Screen.Recording.2023-03-08.at.10.55.04.AM.mov

@MelvinBot
Copy link

Looks like something related to react-navigation may have been mentioned in this issue discussion.

As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.

Feel free to drop a note in #expensify-open-source with any questions.

@aldo-expensify
Copy link
Contributor

We are entering here:
image

and returning early instead of really navigating.

@aldo-expensify
Copy link
Contributor

aldo-expensify commented Mar 8, 2023

Navigation.canNavigate is returning false because isNavigating is stuck with true

@aldo-expensify
Copy link
Contributor

The Navigation.isNavigate is being set to true here:

this.unsubscribeTransitionStart = this.props.navigation.addListener('transitionStart', () => {
Navigation.setIsNavigating(true);
});

but then the component ScreenWrapper gets unmounted and we unsubscribe to the transition events before processing the 'transitionEnd' event, which would have set Navigation.isNavigating back to false.

I'm not familiarized at all with these transitions and how are the expected to work, so I'll ask. An easy fix would be to set Navigation.isNavigating back to false when we are unsubscribing, but I have no idea if that is a terrible solution.

@aldo-expensify
Copy link
Contributor

aldo-expensify commented Mar 9, 2023

I'm closing this since it is no longer reproducible in staging after the deploy of: #15761 reverting the offending PR

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Hourly KSv2 labels Mar 9, 2023
@melvin-bot melvin-bot bot changed the title Web - Profile - If user deletes the number without validating, page becomes unresponsive [HOLD for payment 2023-03-16] Web - Profile - If user deletes the number without validating, page becomes unresponsive Mar 9, 2023
@melvin-bot melvin-bot bot unlocked this conversation Mar 9, 2023
@MelvinBot
Copy link

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 9, 2023
@MelvinBot
Copy link

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.80-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-03-16. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@Beamanator Beamanator changed the title [HOLD for payment 2023-03-16] Web - Profile - If user deletes the number without validating, page becomes unresponsive Web - Profile - If user deletes the number without validating, page becomes unresponsive Mar 9, 2023
@MelvinBot
Copy link

Reviewing label has been removed, please complete the "BugZero Checklist".

@MelvinBot
Copy link

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.81-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-03-17. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Mar 10, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Mar 31, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-03-17] Web - Profile - If user deletes the number without validating, page becomes unresponsive [HOLD for payment 2023-04-07] [HOLD for payment 2023-03-17] Web - Profile - If user deletes the number without validating, page becomes unresponsive Mar 31, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 31, 2023
@MelvinBot
Copy link

Reviewing label has been removed, please complete the "BugZero Checklist".

@MelvinBot
Copy link

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.92-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-04-07. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production DeployBlockerCash This issue or pull request should block deployment Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

4 participants