Skip to content

[Due for payment 2025-07-04] Selecting a workspace from the switcher does not update the active workspace #64395

Closed

Description

@mitarachim

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: v9.1.68-1
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: #64110
Email or phone of affected tester (no customers): applausetester+dp195@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: Xiaomi Poco X4 / Android 13
App Component: Other

Action Performed:

Setup:
[admin] Create 2 workspaces [A] and [B]
[admin] Invite [employee] to both workspaces

Steps:

  1. [employee] Create and submit an expense to workspace [A]
  2. [admin] Open the report
  3. [admin] Tap More
  4. [admin] Tap Change workspace
  5. [admin] Select workspace {B]

Expected Result:

After selecting workspace B, the expense report should be moved from workspace A to workspace B

Actual Result:

After selecting workspace B, the workspace does not change, and the expense report remains in workspace A

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6863038_1750199152759.video_29.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @JmillsExpensify

Activity

  1. added
    Daily
    Bug
    on Jun 18, 2025
  2. melvin-bot commented on Jun 18, 2025

    @melvin-bot

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

  3. added
    DeployBlockerCash
    DeployBlocker
    on Jun 18, 2025
  4. melvin-bot commented on Jun 18, 2025

    @melvin-bot

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

  5. melvin-bot commented on Jun 18, 2025

    @melvin-bot

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

  6. github-actions commented on Jun 18, 2025

    @github-actions
    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.
  7. nabi-ebrahimi commented on Jun 18, 2025

    @nabi-ebrahimi
    Contributor

    Couldn't reproduce this.

  8. JS00001 commented on Jun 18, 2025

    @JS00001
    Contributor

    I'm also not able to repro:

    Screen.Recording.2025-06-18.at.8.25.14.AM.mov
  9. 16 remaining items

  10. removed
    Reviewing
    on Jun 27, 2025
  11. melvin-bot commented on Jun 27, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.71-11 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-07-04. 🎊

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

  12. melvin-bot commented on Jun 27, 2025

    @melvin-bot

    @allroundexperts @JmillsExpensify @allroundexperts 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]

  13. added
    Daily
    and removed
    Weekly
    on Jul 4, 2025
  14. melvin-bot commented on Jul 4, 2025

    @melvin-bot

    Payment Summary

    Upwork Job

    BugZero Checklist (@JmillsExpensify)

    • 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 verified the PR was not reverted
    • I have applied any discounts due to bugs/regressions introduced by this PR
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct
  15. melvin-bot commented on Jul 7, 2025

    @melvin-bot

    @JmillsExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  16. added
    Weekly
    and removed
    Daily
    on Jul 9, 2025
  17. JmillsExpensify commented on Jul 9, 2025

    @JmillsExpensify
    Contributor

    Payment summary: $250 @allroundexperts via NewDot. Please fill out the payment summary before requesting payment. Thanks!

  18. allroundexperts commented on Jul 9, 2025

    @allroundexperts
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
    • 2b. Reported on staging (eg. found during regression or PR testing)
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other:
    • [Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

      Link to comment: This was caused by Optimistically update report when changing workspace #64110 and the author is aware of this.

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

      Link to discussion: N/A

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue:

    Regression Test Proposal

    Precondition:

    • [admin] Create 2 workspaces [A] and [B]
    • [admin] Invite [employee] to both workspaces

    Test:

    1. [employee] Create and submit an expense to workspace [A]
    2. [admin] Open the report
    3. [admin] Tap More
    4. [admin] Tap Change workspace
    5. [admin] Select workspace {B]

    Verify that after selecting workspace B, the expense report should be moved from workspace A to workspace B

    Do we agree 👍 or 👎

  19. trjExpensify commented on Jan 5, 2026

    @trjExpensify
    Contributor

    approved $250 for @allroundexperts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugEngineeringWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions