Skip to content

[Due for payment 2025-05-20] Expense - "Change workspace" option is available for p2p expense and invoice #59876

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

Closed
6 of 8 tasks
IuliiaHerets opened this issue Apr 9, 2025 · 36 comments
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

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Apr 9, 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.1.25-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: No, reproducible on hybrid only
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.3 / Chrome
App Component: Money Requests

Action Performed:

Bug 1:

Precondition:

  • Account has at least one workspace.
  1. Go to staging.new.expensify.com
  2. Go to 1:1 DM.
  3. Submit an expense.
  4. Click on the expense preview.
  5. Click More.

Bug 2:

  1. Go to staging.new.expensify.com
  2. Go to FAB > Send invoice.
  3. Send an invoice to any user.
  4. Go to invoice report.
  5. Click More.

Bug 3:

  1. Go to staging.new.expensify.com
  2. Go to 1:1 DM.
  3. Click + > Pay user.
  4. Enter amount > Next.
  5. Pay the user.
  6. Go to expense report.
  7. Click More.

Expected Result:

"Change workspace" option should not be available for p2p expense and invoice report.

Actual Result:

"Change workspace" option is available for p2p expense and invoice report.
Changing workspace in p2p expense is not working too.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

https://github.com/user-attachments/assets/aec7142f-b1de-4713-882a-bc4cef63b536
https://github.com/user-attachments/assets/7e5fe142-ad9c-488e-a1bd-1e46a20bf3ca
https://github.com/user-attachments/assets/2e9827c7-948c-4f9a-95e4-281a558b1dc7

View all open jobs on GitHub

@IuliiaHerets IuliiaHerets added Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels Apr 9, 2025
Copy link

melvin-bot bot commented Apr 9, 2025

Triggered auto assignment to @lschurr (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 Apr 9, 2025
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment and removed DeployBlocker Indicates it should block deploying the API labels Apr 9, 2025
@IuliiaHerets IuliiaHerets removed the Daily KSv2 label Apr 9, 2025
Copy link

melvin-bot bot commented Apr 9, 2025

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

Copy link

melvin-bot bot commented Apr 9, 2025

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

Copy link
Contributor

github-actions bot commented Apr 9, 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.

@mountiny
Copy link
Contributor

mountiny commented Apr 9, 2025

@rayane-d
Copy link
Contributor

rayane-d commented Apr 9, 2025

cc @mananjadhav

@jnowakow
Copy link
Contributor

jnowakow commented Apr 9, 2025

Bug 1:
@luacmartins I've added a question to design doc - https://docs.google.com/document/d/1JZLr_5gX348cMZXNr6HUwi4QscOcDg3IY368FMAu3H4/edit?disco=AAABgi2j1Cc

Bug 2:
I'm not able to create invoice due to another bug:

invoices.mov

Bug 3:
Report is both reimbursed and user is marked as receiver so it's correct according to design doc:

(isIOU && hasWorkspaces &&
	(isReceiver && isReimbursed) || <-- it falls here
	(isSender && isProcessing)
)

cc @luacmartins

@luacmartins
Copy link
Contributor

Change workspace should be available for P2P, so that users can move an IOU they incorrectly submitted to their admin (as P2P) to their correct workspace. I think we need to investigate this one though:

Changing workspace in p2p expense is not working too.

@luacmartins luacmartins assigned luacmartins and jnowakow and unassigned nkuoch Apr 9, 2025
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Apr 9, 2025
Copy link

melvin-bot bot commented Apr 9, 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.

Copy link

melvin-bot bot commented Apr 9, 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.

Copy link

melvin-bot bot commented Apr 9, 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 removed the Weekly KSv2 label Apr 9, 2025
@luacmartins
Copy link
Contributor

I'm gonna reopen this since it's not solved. I have a PR for it here #60872

@luacmartins luacmartins reopened this Apr 24, 2025
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Apr 30, 2025
@luacmartins luacmartins removed the Awaiting Payment Auto-added when associated PR is deployed to production label May 1, 2025
@luacmartins luacmartins changed the title [Due for payment 2025-04-18] Expense - "Change workspace" option is available for p2p expense and invoice Expense - "Change workspace" option is available for p2p expense and invoice May 1, 2025
Copy link

melvin-bot bot commented May 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.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels May 13, 2025
@melvin-bot melvin-bot bot changed the title Expense - "Change workspace" option is available for p2p expense and invoice [Due for payment 2025-05-20] Expense - "Change workspace" option is available for p2p expense and invoice May 13, 2025
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 13, 2025
Copy link

melvin-bot bot commented May 13, 2025

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

Copy link

melvin-bot bot commented May 13, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.44-8 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-05-20. 🎊

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

  • @rushatgabhane requires payment through NewDot Manual Requests
  • @jnowakow does not require payment (Contractor)
  • @rayane-d requires payment through NewDot Manual Requests

Copy link

melvin-bot bot commented May 13, 2025

@rushatgabhane / @rayane-d @rushatgabhane / @rayane-d 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 Daily KSv2 and removed Weekly KSv2 labels May 20, 2025
Copy link

melvin-bot bot commented May 20, 2025

Issue is ready for payment but no BZ is assigned. @bfitzexpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

Copy link

melvin-bot bot commented May 20, 2025

Payment Summary

BugZero Checklist (@bfitzexpensify)

  • I have verified the correct assignees and roles are listed above and updated the necessary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@lschurr
Copy link
Contributor

lschurr commented May 20, 2025

Just clarifying, looking at the PR, it seems like @luacmartins made the PR and @rayane-d did the review. @rushatgabhane you didn't review this one right?

@rushatgabhane
Copy link
Member

yes that is correct

@lschurr lschurr assigned lschurr and unassigned bfitzexpensify May 20, 2025
@lschurr
Copy link
Contributor

lschurr commented May 20, 2025

I updated the payment summary and verified it's correct.

  • Reviewer: @rayane-d please request $250 via NewDot

@lschurr lschurr closed this as completed May 20, 2025
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
Projects
None yet
Development

No branches or pull requests

9 participants