Skip to content
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

[Due for payment 2025-01-17] [Due for payment 2025-01-15] Invoices - User can send invoice to themselves #54836

Closed
6 of 8 tasks
IuliiaHerets opened this issue Jan 6, 2025 · 24 comments · Fixed by #55016
Closed
6 of 8 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Reviewing Has a PR in review

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Jan 6, 2025

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: 9.0.81-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.0 / Chrome
App Component: Money Requests

Action Performed:

Precondition:

  • Invoice feature is enabled.
  1. Go to staging.new.expensify.com
  2. Go to FAB > Send invoice.
  3. Enter amount > Next.
  4. Select the contact under "Personal", which is yourself.
  5. Send the invoice.

Expected Result:

User should not be able to send the invoice to themselves (production behavior).

Actual Result:

User is able to send the invoice to themselves. The "invoice" is sent to self DM and becomes a track expense.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6707525_1736191985891.20250107_032904.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @RachCHopkins
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Jan 6, 2025
Copy link

melvin-bot bot commented Jan 6, 2025

Triggered auto assignment to @chiragsalian (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Jan 6, 2025

Triggered auto assignment to @RachCHopkins (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added the Daily KSv2 label Jan 6, 2025
Copy link

melvin-bot bot commented Jan 6, 2025

💬 A slack conversation has been started in #expensify-open-source

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Jan 6, 2025
Copy link
Contributor

github-actions bot commented Jan 6, 2025

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@IuliiaHerets
Copy link
Author

Production behaviour

bandicam.2025-01-06.23-12-25-825.mp4

@chiragsalian
Copy link
Contributor

I believe the issue has come from this PR - #53760
I tested the revert PR locally and this issue was resolved. cc @JKobrynski @VickyStash @grgia @mountiny, do you guys want to investigate the proper fix? If we cannot fix it soon i will proceed to revert the PR to give us more time to test the fixes properly. Let me know.

@JKobrynski
Copy link
Contributor

Hi, I'm Julian from Callstack - expert agency - and I would like to work on this issue.

@trjExpensify
Copy link
Contributor

Assigning Julian. CC: @grgia for vis.

@grgia
Copy link
Contributor

grgia commented Jan 7, 2025

I can take this one @chiragsalian

@grgia grgia self-assigned this Jan 7, 2025
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Jan 7, 2025
@thienlnam thienlnam removed the DeployBlockerCash This issue or pull request should block deployment label Jan 7, 2025
Copy link

melvin-bot bot commented Jan 7, 2025

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

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.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jan 8, 2025
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 8, 2025
Copy link

melvin-bot bot commented Jan 8, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.81-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2025-01-15. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jan 8, 2025

@chiragsalian / @grgia @RachCHopkins @JKobrynski The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Jan 8, 2025
Copy link

melvin-bot bot commented Jan 8, 2025

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

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.

@JKobrynski
Copy link
Contributor

Update:

I didn't have enough time to fix this today, I started working on it and created a draft PR, it will be finished and published for review tomorrow.

@RachCHopkins RachCHopkins changed the title [HOLD for payment 2025-01-15] Invoices - User can send invoice to themselves [Due for payment 2025-01-15] Invoices - User can send invoice to themselves Jan 10, 2025
@RachCHopkins
Copy link
Contributor

FYI I'm OOO next week (13-17 Feb), but I don't think there will be an actual payment to issue. If there is, please add the Bug label again!

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jan 10, 2025
@melvin-bot melvin-bot bot changed the title [Due for payment 2025-01-15] Invoices - User can send invoice to themselves [HOLD for payment 2025-01-17] [Due for payment 2025-01-15] Invoices - User can send invoice to themselves Jan 10, 2025
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 10, 2025
Copy link

melvin-bot bot commented Jan 10, 2025

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Jan 10, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.82-12 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2025-01-17. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jan 10, 2025

@chiragsalian / @grgia @RachCHopkins @JKobrynski The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Jan 10, 2025
@JKobrynski
Copy link
Contributor

Update:

I updated the PR, it's now ready for review!

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jan 14, 2025
@JKobrynski
Copy link
Contributor

Update:

I fixed merge conflicts, lint issues and applied changes requested by reviewers. The PR is once again waiting for review.

Copy link

melvin-bot bot commented Jan 17, 2025

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@RachCHopkins RachCHopkins changed the title [HOLD for payment 2025-01-17] [Due for payment 2025-01-15] Invoices - User can send invoice to themselves [Due for payment 2025-01-17] [Due for payment 2025-01-15] Invoices - User can send invoice to themselves Jan 20, 2025
@JKobrynski
Copy link
Contributor

Update:

I applied a small change requested by @trjExpensify. Unfortunately new conflicts appeared right after that. They couldn't be fixed quickly as they directly influence the changes that I introduced in OptionsListUtils.ts. I will continue my work on it tomorrow.

Copy link

melvin-bot bot commented Jan 21, 2025

@chiragsalian, @RachCHopkins, @grgia, @JKobrynski Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Reviewing Has a PR in review
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants