You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[LOW] [Splits] [$500] Request – Unable to Request money twice to the same user you have no conversation with. #33487
Version Number: v1.4.16-1 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 Expensify/Expensify Issue URL: Issue reported by: Applause-Internal Team Slack conversation: @
Prerequisite: The new account you're requesting money from must have an updated user name in NewDot, ie. first name = Matt, last = test, as seen in Matt A's vid below.
changed the title [-]Request – Unable to Request money twice to the same user you have no conversation with.[/-][+][$500] Request – Unable to Request money twice to the same user you have no conversation with.[/+]on Dec 22, 2023
📣 @handaniel214! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:
Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
In summary, when we create a money request with a user that we haven't chatted with before, we don't have their login yet. If we try to search for that same user when selecting the money request participant, we won't be able to find it and it will create a new optimistic account (with a different accountID) because we filter out any user that doesn't have a login.
Because the accountID is different, we created a new chat report and it will throw an error because we already have an existing chat with that user.
In #22031, we are holding for #22480, but #22480 actually doesn't fix #22031. In #22480, we only fix an issue where the user is unable to create a money request from within the chat by allowing the request to accept an account ID, so if the login is missing, the request will still succeed.
What changes do you think we should make in order to solve the problem?
I tested doing money request, split, and send money and all of them can work even though the email/login is missing. We also have this PR to allow the user to do a split bill from within the chat with a user without login.
So, I believe it makes sense to show a user even without a login on the money request participant list as the BE can already handle it. We can have a new flag called includePersonalDetailsWithoutLogin and only set it to true for the money request participant list. Basically, we will have the same behavior between making a money request from FAB and from within the chat.
Activity
[-]Request – Unable to Request money twice to the same user you have no conversation with.[/-][+][$500] Request – Unable to Request money twice to the same user you have no conversation with.[/+]melvin-bot commentedon Dec 22, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01497816ffe49c0bd0
melvin-bot commentedon Dec 22, 2023
Triggered auto assignment to @mallenexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Dec 22, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Dec 22, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 (
External)rainbowunicorn18 commentedon Dec 22, 2023
This error is still exist? I can't find this error. It works well.
melvin-bot commentedon Dec 22, 2023
📣 @handaniel214! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:
Format:
bernhardoj commentedon Dec 22, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Requesting money twice to the same user that we haven't chatted with before will give an error.
What is the root cause of that problem?
This has the same root cause as #22031 (comment).
In summary, when we create a money request with a user that we haven't chatted with before, we don't have their login yet. If we try to search for that same user when selecting the money request participant, we won't be able to find it and it will create a new optimistic account (with a different accountID) because we filter out any user that doesn't have a login.
App/src/libs/OptionsListUtils.js
Lines 1213 to 1217 in 862b0ea
Because the accountID is different, we created a new chat report and it will throw an error because we already have an existing chat with that user.
In #22031, we are holding for #22480, but #22480 actually doesn't fix #22031. In #22480, we only fix an issue where the user is unable to create a money request from within the chat by allowing the request to accept an account ID, so if the login is missing, the request will still succeed.
What changes do you think we should make in order to solve the problem?
I tested doing money request, split, and send money and all of them can work even though the email/login is missing. We also have this PR to allow the user to do a split bill from within the chat with a user without login.
So, I believe it makes sense to show a user even without a login on the money request participant list as the BE can already handle it. We can have a new flag called
includePersonalDetailsWithoutLoginand only set it to true for the money request participant list. Basically, we will have the same behavior between making a money request from FAB and from within the chat.(or just remove the login logic for all cases)
65 remaining items
mvtglobally commentedon Apr 4, 2024
Issue is reproducible during KI retests.
mallenexpensify commentedon Apr 6, 2024
Add
Help Wantedlabel.melvin-bot commentedon Apr 6, 2024
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
melvin-bot commentedon Apr 13, 2024
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
mallenexpensify commentedon Apr 15, 2024
Waiting for proposals.
lokesh-singhania commentedon Apr 19, 2024
Not able to reproduce this on Android (Chrome)
Request Moneyoption (is some setting required for it?)Track Expenseinstead - but no issue found (recording below)Screenrecorder-2024-04-19-15-42-44-209.mp4
Is this issue mac only?
melvin-bot commentedon Apr 20, 2024
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
mallenexpensify commentedon Apr 23, 2024
Gonna close this, wasn't able to repro AND it's 5 months old, nav is totally different now.
2024-04-23_14-43-13.mp4