-
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
IOU - User B can't request money to user A inside the IOU report user A created #28816
Comments
Triggered auto assignment to @sophiepintoraetz ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.User B is not shown "Request Money" option in an IOU report of User A's request for money from B What is the root cause of that problem?Here we remove the current user from the participants App/src/pages/home/report/ReportActionCompose/ReportActionCompose.js Lines 147 to 150 in ab821e5
For an IOU report created, the ownerAccountID is the requestor and the participantID s are the requested people.In this case, for User B, they are the only participant and removing the current user that is user B leaves no participants and this here Lines 3380 to 3386 in ab821e5
does not return "Request Money" option What changes do you think we should make in order to solve the problem?We should change this here
to something like this () => _.without([...lodashGet(report, 'participantAccountIDs', []), report?.ownerAccountID], currentUserPersonalDetails.accountID), What alternative solutions did you explore? (Optional)ResultScreen.Recording.2023-10-04.at.9.14.48.PM.mov |
This is waiting for backend PR to be deployed https://github.com/Expensify/Auth/pull/8827 |
@mountiny - I'm headed OOO from today - I checked the PR and it looks like no reviewer payment is due here. Neither was it reported so I believe there is no BZ action to be taken here? If so, then please can you close or unassign me from this issue? |
This is now fixed in staging, closing |
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 found when executing PR #28542
Action Performed:
Pre-requisite: user must be logged in with 2 different accounts
Expected Result:
There should be and option to request money
Actual Result:
As user B, there is no "Request money" option in the IOU report that user A created
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.77-2
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Bug6224616_1696425348028.bandicam_2023-10-03_17-00-28-063.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: