Closed kbecciv closed 2 years ago
Triggered auto assignment to @francoisl (Engineering
), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
I can't reproduce on dev, neither on the latest version of main
nor on 1.1.29-1
specifically; I get to the identity verification step each time.
I could only test mweb on iOS though, for some reason I can't get anything to work with Android at the moment. Going to put this back in the pool and hopefully someone can chime in if they can reproduce.
https://user-images.githubusercontent.com/2229301/149249703-2b07b060-e2e6-48fb-bb1c-57c91ba53d68.mov
Not sure if it can be marked as an external issue until we can reproduce though.
I see something like this happening if you try to add a bank account that you already have. We get an error from the backend and we don't do anything we it, no feedback for the user. My steps:
Open
VBA using the SO (maybe this can be done in NewDot and the same should happen)Settings > Payments
Transfer Balance
and then Bank account
, it takes me to add a new bank account 🤷 At least for the case I mentioned above, we are not doing anything with the error here:
I'll label this as External
as it seems just related to doing something in the front with the error that comes from the backend.
Triggered auto assignment to @puneetlath (External
), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
@kbecciv to confirm if it is related to what I found, can you replicate the problem and look in the network
tab of chrome dev tools and see if you are getting an error in the response of the request sent to the URL: .../api?command=BankAccount_Create
Upwork job for handling the API response is here: https://www.upwork.com/jobs/~0151453e9454631fab
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat (Exported
)
Current assignee @puneetlath is eligible for the Exported assigner, not assigning anyone new.
Checking on whether this has been deployed, since the PR happened in the expensify-common repo.
Increasing to $500.
response.title === 'BanK account already exits
. ReimbursementAccount.setBankAccountFormValidationErrors({chooseAccount: true});
chooseAcount: 'What ever error we want to show to the user
via errorText={this.getErrorText('chooseAcount')}
But as it already show another error show we would add a ||
to pick the any of the errors. Similary for hasError
prop to determine if there is an error.
In case we don't want to show this error below the field and Show it as a growl.
Then instead of step 2 we just show a growl and step 2-4 will not be needed.
I think we should also show a generic error growl when the error is unknown and the code is not 200.
I think we should also show a generic error growl when the error is unknown and the code is not 200.
I agree for any error we don't specifically handle we should just show the server error. But I think we should use the new pattern of showing the error above the save and continue
button instead of as a growl. I believe we are moving away from growls for any form validation.
The rest of the proposal sounds good to me 👍🏾.
I am not yet familiar with it but let me check.
@puneetlath Ok, I see then we just need to call https://github.com/Expensify/App/blob/4b04f7371745e145ad8e93e2d28434fb7708bd17/src/libs/actions/ReimbursementAccount/errors.js#L10 to set the error instead of growl step.
Issue not reproducible during KI retests. (First week)
@parasharrajat I just verified in this thread.
For any server error we aren't handling, we'll want to display it above the submit button.
Thanks, @puneetlath I got that. This change will show the error at the same location above the button. It saves the error which goes directly here https://github.com/Expensify/App/blob/4b04f7371745e145ad8e93e2d28434fb7708bd17/src/components/FormAlertWithSubmitButton.js#L102 via ReimbursementAccountForm
which is used for VBA flow.
Ah, ok I see. Ok cool, let's do it 👍🏾
PR will be ready by Monday.
PR will be up shortly..
Issue not reproducible during KI retests. (Second week)
@puneetlath QA says they can't reproduce this. Is it fixed? On the other hand, when I am trying to add a bank account via plaid it takes me to the real website of the bank on staging. And it never loads on the web browser due to CORS errors.
Ah interesting. I just tried and it seems that now we throw a growl that says "no bank account available" and then you land on this page.
So you're no longer stuck in an endless spinner and we no longer let you choose an account that you've already added. But we do leave you on this weird blank page instead of navigating you back. So I think we should still fix that.
And if we still aren't handling unknown API errors in this flow, then I still think we should do that as well.
I will look into this tomorrow. Things needed:
Triggered auto assignment to @Christinadobrzyn (External
), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Current assignee @parasharrajat is eligible for the Exported assigner, not assigning anyone new.
Triggered auto assignment to @chiragsalian (Exported
), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
@Christinadobrzyn @chiragsalian assigning y'all since I'm about to go on sabbatical for 2 months.
@Christinadobrzyn the internal job post is here: https://www.upwork.com/ab/applicants/1488237483760803840/hired
@chiragsalian we're looking for a proposal for https://github.com/Expensify/App/issues/7185#issuecomment-1057336885
I will post one today for the new requirement if possible. Need to go through the complete VBA flow to understand the API calls. Otherwise, I am open to proposals.
This job should have a price increase but the original job is closed.
Created a new job - https://www.upwork.com/ab/applicants/1502124533147897856/job-details
@parasharrajat will it mess up anything for you if I cancel your contract on the old job and hire you for the new one so I can increase the price?
@Christinadobrzyn Nope. You can cancel the contract and send the new offer.
Done! Thanks, @parasharrajat.
Looks like we're still waiting on proposals to fix the issue.
Issue not reproducible during KI retests. (Third week) Original issue is no longer repro. @Christinadobrzyn Should we update the steps to reflect the new issue we are trying to fix, or close this and open a new issue for this? https://github.com/Expensify/App/issues/7185#issuecomment-1055853896
I'll defer to @Christinadobrzyn preference, but my vote would be to close this issue and open a new issue so that its just cleaner to focus on.
I agree, let's close this and open a new issue with what needs to be fixed. Feel free to assign it to me as the CM!
@mvtglobally can you link the new issue to this one when it's created? Then I'll close this one.
Also, @parasharrajat, I can pay you for the work on this one, when you have a moment, can you mind accepting my offer in Upwork?
@Christinadobrzyn Thanks for the good gesture. I would like to solve this issue in exchange for the payment. Please give me 2 days to prepare a proposal and PR. And as I am aware of the problem, I don't think I need a new issue.
Oh no, it slipped my mind. I will get back to it asap
Sorry for the unexpected delay. I will post the proposal by tomorrow.
No pressure but any update @parasharrajat?
Apologies for the delay here. Just catching up on my task. I will post the proposal tomorrow by this time.
Looked at the code but no proposal yet. I am feeling sick today so not working.
I'm going to be ooo until April 26th so I'm going to assign a new CM to this issue. Thanks!
If I understand correctly, the current status is that @parasharrajat is working on a proposal.
Triggered auto assignment to @Christinadobrzyn (External
), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Triggered auto assignment to @dylanexpensify (External
), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Woot! Sounds good!
I am facing the CORS issue on dev. Asked here.
Ok, I passed the CORS error on the desktop. but it takes me to the live bank website instead of asking for sandbox creads. I can't test the API. @chiragsalian Do you know how to test it? Reported here https://expensify.slack.com/archives/C01GTK53T8Q/p1649949322758349
not overdue. @chiragsalian bump on above!
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:
If the API request fails, we handle that and show the error to the user.
Actual Result:
Unable procced with VBA flow after put password and tap finish Set up. No error shown.
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.29.1
Reproducible in staging?: Yes
Reproducible in production?: No
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: Applause
https://user-images.githubusercontent.com/93399543/149238337-c6759873-2ae1-4df7-ae90-a17a81a0f866.mp4
Slack conversation:
View all open jobs on GitHub