Skip to content

Expense - Infinite loading when WS admin tries to change employee´s expense to another report #60295

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
4 of 8 tasks
vincdargento opened this issue Apr 15, 2025 · 14 comments
Closed
4 of 8 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Reviewing Has a PR in review Weekly KSv2

Comments

@vincdargento
Copy link

vincdargento commented Apr 15, 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.28-1
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Motorola MotoG60 - Android 12 - Chrome / Windows 10 - Chrome
App Component: Money Requests

Action Performed:

Prerequisite: Be logged in with two different accounts in two different devices or environments.
Prerequisite 2: Delayed submissions disabled for workspace.

  1. Open the staging.new.expensify.com website.
  2. Log in with User A account.
  3. Open any workspace chat.
  4. Create a manual expense.
  5. Navigate to "Settings" and open "Workspaces"
  6. Open the workspace where the expense was submitted.
  7. Tap on "Members" and invite User B to workspace.
  8. Switch to User B account.
  9. Open the just invited workspace´s chat.
  10. Create a manual expense.
  11. Switch to User A account again.
  12. Open the report of the expense created by User B.
  13. Tap on "Report"
  14. Change the expense to a different report.
  15. On expense report, tap on "Report" again.
  16. Note that expense wasn´t changed to another report.
  17. Try to change reports again.
  18. Check the page behaviour with this action.

Expected Result:

Admin of a workspace shoulnd´t be able to change employee´s expense to a different report or there should not be infinite loading page

Actual Result:

Admin of a workspace, has the option to change employee´s expense to a different report and infinite loading is experienced when trying to complete that action.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

bug.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @waterim
@vincdargento vincdargento added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 DeployBlockerCash This issue or pull request should block deployment labels Apr 15, 2025
Copy link

melvin-bot bot commented Apr 15, 2025

Triggered auto assignment to @sonialiap (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.

Copy link

melvin-bot bot commented Apr 15, 2025

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

Copy link

melvin-bot bot commented Apr 15, 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 Apr 15, 2025
@vincdargento
Copy link
Author

@sonialiap FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

Copy link
Contributor

👋 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.

@MarioExpensify
Copy link
Contributor

There is an ongoing discussion about the ChangeTransactionsReport related flows here. The Report change button will be put behind a beta and all bugs will be addressed in follow up issues.

@luacmartins
Copy link
Contributor

No longer available in staging. Demoting.

@luacmartins luacmartins added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 15, 2025
Copy link

melvin-bot bot commented Apr 21, 2025

@waterim Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot melvin-bot bot added the Overdue label Apr 21, 2025
Copy link

melvin-bot bot commented Apr 23, 2025

@waterim 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@waterim
Copy link
Contributor

waterim commented Apr 23, 2025

@luacmartins

Getting this error from the BE for this issue, what should be an expected behaviour?
Do we need to filter additionally reports?

Image

@melvin-bot melvin-bot bot removed the Overdue label Apr 23, 2025
@luacmartins
Copy link
Contributor

Looking

@luacmartins
Copy link
Contributor

I think the issue is in the FE. We should only show reports from the same workspace AND that belong to the original submitter. I can work on a fix for it tomorrow.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Apr 24, 2025
@luacmartins
Copy link
Contributor

Got a PR up for this one #60857

@luacmartins
Copy link
Contributor

This is fixed in staging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

5 participants