-
Notifications
You must be signed in to change notification settings - Fork 3k
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-08-03] [HOLD for payment 2023-08-02] Contact methods - System throws an error when refreshing the secondary login verification page #23542
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @Gonals ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.System throws an error when refreshing the secondary login verification page What is the root cause of that problem?This is a regression from #22727 When we add a new contact, App/src/libs/actions/PersistedRequests.js Lines 27 to 38 in 0e2f742
After we call the API, we remove it from the queue. But as you can see from the above code, We can verify this from the fact that onyx callback here isn't called after we remove the request. That's why AddNewContactMethod remains in the onyx store and is called again after the refresh. This is the root cause. What changes do you think we should make in order to solve the problem?We need to clone the persistedRequests and splice and set again. This works as expected What alternative solutions did you explore? (Optional) |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
@s-alves10 splice is a mutating method. |
oh, yes. sorry. mutating is causing the problem. |
Reverting here: #23551 |
Accepted the offer. Thanks @puneetlath |
Paid, thanks! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.45-7 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-08-02. 🎊 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.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.46-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-08-03. 🎊 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.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
System shouldn't throw error, & should display magic code input field
Actual Result:
System throws an error, & hides the magic code input field
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.45.1
Reproducible in staging?: y
Reproducible in production?: n
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
2023-07-25.15.21.22.1.mp4
Recording.3896.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Natnael-Guchima
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690284278814549
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: