-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$250] Send Money - Incorrect chat conversation displayed after send money to non-existing account #9084
Comments
Triggered auto assignment to @iwiznia ( |
Oh wow... yes, terrible bug. |
Triggered auto assignment to @adelekennedy ( |
This bug isn't only about non-existing accounts. We just don't navigate to the report when a user sends money. ProposalWhen a user sends money payIOUReport gets called, inside the function after the api request we get two reports in the response the first one contains the reportID of the report that the user send money to we can just access that and we need to navigate user to that report. To do this we can use this code - const userReportID = lodashGet(_.first(_.values(response.reports)), 'reportID', '');
Navigation.navigate(ROUTES.getReportRoute(userReportID)); (not sure what should be the variable name) After this - Lines 312 to 325 in 11a1f0d
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Triggered auto assignment to @flodnv ( |
@parasharrajat can you please review the proposal from @thesahindia? |
Oh. I didn't see the proposal. I will review this today. |
#6992 shows that this is expected behavior. cc: @flodnv @iwiznia @thesahindia Your proposal is half of the needed solution. We indeed navigate after sendMoney request is completed but it does not navigate to the report that we sent money. So Instead of your solution we need to correct the existing navigation logic (If this change is needed). |
😕 @marcaaron any thoughts on that? |
I dunno I'm not seeing the bug seems more like a feature request. If you send someone money it just sends them money. Is the expectation that we will switch you to that chat? Why and where was it decided? |
Oh damn, when I looked at it I thought the same thing, but then for some reason thought the request was showing in the chat you had selected. I now realize that request was already there. I agree to close this out as this is not a bug. |
Agree |
1 similar comment
Agree |
@flodnv @iwiznia @marcaaron @parasharrajat are we good to close this if it's expected behavior? |
Yep |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a production regression has occurred a Root Cause Analysis is required. Please follow the instructions here. 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. |
This issue was closed with no changes, so it can't have caused a regression. We decided this is not a bug. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a production regression has occurred a Root Cause Analysis is required. Please follow the instructions here. 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. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue was found when executing PR: https://github.com/Expensify/Web-Expensify/pull/33293
Action Performed:
Expected Result:
Correct chat conversation displayed after send money to non-existing account
Actual Result:
Incorrect chat conversation displayed after send money to non-existing account
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.63.2
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: Applause
Bug5577109_Recording__642.mp4
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: