-
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
[$250] Send money - User can send money to group by modifying the URL to ../send/new/.. #29367
Comments
Triggered auto assignment to @muttmuure ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @neil-marcellini ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Send money - User can send money to group by modifying the URL to ../send/new/.. What is the root cause of that problem?This problem exists for all kind of iou requests. We have not implemented any conditions to prevent such cases. Lines 3353 to 3376 in 8c73c2b
What changes do you think we should make in order to solve the problem?We can leverage this <FullPageNotFoundView shouldShow={!IOUUtils.isValidMoneyRequestType(iouType) || (!isFromGlobalCreate && !ReportUtils.getMoneyRequestOptions(props.report,props. report.participantAccountIDs).includes(iouType))}> This will ensure that combination of current report and iou type is allowed one, and prevent from unwanted cases. What alternative solutions did you explore? (Optional)If this usage is confusing or overloads a function usage, we can create similar function which will check for above cases based on conditions similar to |
I don't think this is Deploy blocker since we can reproduce similar issue using |
cc @techievivek since this seems related to your recent Send Money PR |
I'm removing the blocker label because this is a new feature we’re bringing back, we can’t easily revert it, and the fix won’t be super quick, so we should not block everything on it. Also the reproduction steps for this one are pretty weird. |
I'm assuming we don't want to allow sending money to a group because it's unclear who the money is being sent to. If that's correct we should fix it on the backend too. I'm re-assigning this to @techievivek because it's related to a project he is working on. |
As mentioned by Ali this seems to happen for all iou requests so it makes sense not to hold this as a blocker, thanks for handling it.
We expect to only see a singe user for send money requests so we are already handling this. |
Job added to Upwork: https://www.upwork.com/jobs/~018efda0f6a36aaf1e |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
Upwork job price has been updated to $100 |
Dibs |
I think a minor fix is required here to prevent users from accessing send money or any other IOU flow, and we have the logic in the backend to help us deny such requests, so I have updated the bounty to only $100. |
@techievivek Given the fact that Contributors need to spend their time investigating the issue, make PR, recordings.. and waiting for 1->2 weeks to get payments. I think 100$ is too small to get attractive from them. I saw the minimum bounty in our issue pool is 250$. What do you think? |
Upwork job price has been updated to $250 |
Hey @techievivek i am interested please assign me |
@hannojg Updated it to 250, but I think these are minor fixes with no edge case(hopefully) and shouldn't take long other than just verifying it across platforms. can you please review the proposal posted by Ali, thanks. |
@techievivek @muttmuure This issue is a dupe and will get fixed here: #26523 |
@techievivek did you tag me by accident? I don't see why I was tagged |
same thought as @esh-g. The issue #26523 is requesting money, this issue is sending money. But because they share the same component. So looks like we can fix them together. cc @techievivek |
Sorry, I tagged you by accident 😄 |
Yes, that will be great. |
@alitoshmatov Do you mind posting your proposal to the other issue so we can tackle them all together. |
@techievivek Looks like proposal(#26523 (comment)) provided in that issue is very similar to mine and solve the issue. So I think there is no need for my proposal |
This is a duplicate of #26523 so I will close this one. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.3.81-6
Reproducible in staging?: Yes
Reproducible in production?: No. Send money is not available on prod
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:
Action Performed:
Expected Result:
When navigating to staging.new.expensify.com/send/new/<groupchat_ID>, error should show up
Actual Result:
When navigating to staging.new.expensify.com/send/new/<groupchat_ID>, user can proceed with sending money to the group
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Bug6233318_1697043967927.20231012_003356.mp4
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: