Skip to content

[Due for payment 2025-09-02] [Due for payment 2025-08-29] Expense - Wrong error message when splitting distance expense with disabled distance rate #68791

Closed

Description

@lanitochka17

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: 9.1.97-0
Reproducible in staging?: Y
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: #68323
Email or phone of affected tester (no customers): sjdionjsoisjoi@gmail.com
Issue reported by: Applause - Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Create a new workspace
  3. Go to workspace settings > More features
  4. Enable Distance rates
  5. Go to Distance rates
  6. Add a distance rate
  7. Go to workspace chat
  8. Submit a distance expense
  9. Go to workspace settings > Distance rates
  10. Disable (do not delete it) the rate used in the distance expense from Step 9
  11. Go back to workspace chat
  12. Open the expense report
  13. Click More > Split
  14. Click Save

Expected Result:

"Rate not valid" error will show up

Actual Result:

"Unexpected error editing this expense. Please try again later." error shows up

Workaround:

Unknown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Bug6921359_1755632513267.error.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @dylanexpensify

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    on Aug 19, 2025
  2. melvin-bot commented on Aug 19, 2025

    @melvin-bot

    Triggered auto assignment to @dylanexpensify (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. melvin-bot commented on Aug 19, 2025

    @melvin-bot

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

  4. melvin-bot commented on Aug 19, 2025

    @melvin-bot

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

  5. github-actions commented on Aug 19, 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.
  6. chuckdries commented on Aug 19, 2025

    @chuckdries
    Contributor

    This is almost certainly also related to #68323

  7. melvin-bot commented on Aug 19, 2025

    @melvin-bot

    ⚠️ 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.

  8. huult commented on Aug 19, 2025

    @huult
    Contributor

    @chuckdries Currently, if we remove a rate, we show ‘Invalid rate,’ and if we disable a rate, we show ‘Failure.’ So in this case, we should still show ‘Invalid,’ right?

  9. 11 remaining items

  10. melvin-bot commented on Aug 22, 2025

    @melvin-bot

    @chuckdries @dylanexpensify 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]

  11. dylanexpensify commented on Aug 26, 2025

    @dylanexpensify
    Contributor

    Payment coming up!

  12. added
    Weekly
    and removed
    Weekly
    on Aug 26, 2025
  13. changed the title [-][Due for payment 2025-08-29] Expense - Wrong error message when splitting distance expense with disabled distance rate[/-] [+][Due for payment 2025-09-02] [Due for payment 2025-08-29] Expense - Wrong error message when splitting distance expense with disabled distance rate[/+] on Aug 26, 2025
  14. melvin-bot commented on Aug 26, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.98-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-09-02. 🎊

  15. melvin-bot commented on Aug 26, 2025

    @melvin-bot

    @chuckdries @dylanexpensify 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]

  16. added
    Daily
    and removed
    Weekly
    on Aug 28, 2025
  17. melvin-bot commented on Sep 2, 2025

    @melvin-bot

    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.

  18. melvin-bot commented on Sep 2, 2025

    @melvin-bot

    @dylanexpensify Eep! 4 days overdue now. Issues have feelings too...

  19. melvin-bot commented on Sep 4, 2025

    @melvin-bot

    ⚠️ 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.

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineering

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions