-
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-05-22] [$1000] An error message shows up after sign in on "Connect to bank" page #18156
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Posting proposal early as per new guidelines ProposalPlease re-state the problem that we are trying to solve in this issue.If browser cookies and site data is cleared while user has Workspaces > The error message should not appear as the user is validated. Same issue also happens if user has signed out and then paste URL for policy add new bank account (e.g. https://new.expensify.com/bank-account/new?policyID=F6EA7D851A6603F6) into Chrome browser to sign in again. What is the root cause of that problem?Right after entering magic code to sign in, user is routed to the previous Workspaces > Before any of the API calls are completed, BankAccountStep App/src/pages/ReimbursementAccount/BankAccountStep.js Lines 55 to 58 in a786349
which causes account error message to show up according based on the rendering condition here App/src/pages/ReimbursementAccount/BankAccountStep.js Lines 149 to 156 in a786349
Note: prop.user.validated is undefined (falsey) at this stage, the logical NOT ! set the display condition to true.
When Upon getting response from the second API call What changes do you think we should make in order to solve the problem?We should display loading page if either
isLoadingReportData: {
key: ONYXKEYS.IS_LOADING_REPORT_DATA,
},
account: {
key: ONYXKEYS.ACCOUNT,
}, to
isLoadingReportData: false,
account: {},
/** Indicated whether the report data is loading */
isLoadingReportData: PropTypes.bool,
/** Holds information about the users account that is logging in */
account: PropTypes.shape({
/** Whether a sign on form is loading (being submitted) */
isLoading: PropTypes.bool,
}),
const isLoading = this.props.isLoadingReportData || this.props.account.isLoading || this.props.reimbursementAccount.isLoading;
if ((!this.state.hasACHDataBeenLoaded || isLoading) && !(this.props.network.isOffline && currentStep === CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT)) {
...as is..
} Note: When the page is being accessed for the first time, and none of the data loading has started yet, page will have state.hasACHDataBeenLoaded : false, and isLoading : false, we want to display loading indicator at this time, hence the condition What alternative solutions did you explore? (Optional)N/A Test ResultsScreen.Recording.2023-05-05.at.10.57.25.AM.mov |
Will triage today. |
Reproduced on web Safari. 2023-05-01_16-34-51.mp4 |
Job added to Upwork: https://www.upwork.com/jobs/~01d4564169525a8256 |
Current assignee @joekaufmanexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
Triggered auto assignment to @aldo-expensify ( |
Pending proposals |
@joekaufmanexpensify just would like to highlight that I have submitted my proposal above for your review. |
Ah, yep. Thanks! @eVoloshchak thoughts on this proposal? |
Still pending review of proposal |
@honnamkuan's, awesome investigation! That means that if the account isn't validated (i.e. has |
@eVoloshchak thank you for the feedbacks! Yes if either I think it totally makes sense to show loading spinner which fetching user data (either |
Still discussing proposal. |
@honnamkuan's updated proposal looks good to me 🎀👀🎀 C+ reviewed! |
Thanks @honnamkuan for the investigation/proposal and @eVoloshchak ! Lets do #18156 (comment) then. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.13-5 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-05-22. 🎊 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:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@honnamkuan was assigned to this issue on 2023-05-05, and the PR was merged on 2023-05-09. The 6th, and 7th, were weekend days though, which means the PR was merged on the 2nd business day after assignment. This qualifies for a speed bonus. So we need to pay:
|
@honnamkuan offer sent for $1,000! |
@eVoloshchak offer sent for $1,000! |
@Nathan-Mulugeta offer sent for $250! |
@eVoloshchak LMK once you've had a chance to work on the BZ checklist steps/if you think we should add a regression test here. |
Once we finish the BZ checklist we can issue payment here. @eVoloshchak mind working through your steps? |
Bumped here. |
|
Got it, ty! I agree a regression test here isn't really necessary. |
BZ checklist is complete! All set to issue payment. |
@honnamkuan $1,500 sent and contract ended! |
@eVoloshchak $1,500 sent and contract ended! |
@Nathan-Mulugeta $250 sent and contract ended! |
Upwork job closed. |
Bug is fixed, BZ checklist complete, and all payment issued. Closing as this is all set. Thanks everyone! |
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:
Expected result:
There should not be any error message being shown
Actual result:
An error message shows up and disappears
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.8-4
Reproducible in staging?: y
Reproducible in production?: y
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-04-28.11.37.43.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Nathan-Mulugeta
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1682671566260029
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: