Skip to content

[Due for payment 2025-11-20] Expense- Error "Category no longer valid" after delete receipt of expense #74433

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.2.45-1
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: https://test-management.browserstack.com/projects/2219752/test-runs/TR-1832/folder/13176933/41237719/996804304
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: Win 11/Chrome
App Component: Money Requests

Action Performed:

  1. Open https://staging.new.expensify.com/
  2. Navigate to any workspace chat
  3. Create a scan receipt with any category
  4. After expense is created, click on this expense
  5. Click on the receipt and delete it

Expected Result:

Receipt is deleted without error

Actual Result:

After receipt is deleted, error "Category no longer valid" is displayed

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

Image
Bug6995755_1762411133866.Recording__1440.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @Christinadobrzyn

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    DeployBlocker
    on Nov 6, 2025
  2. melvin-bot commented on Nov 6, 2025

    @melvin-bot

    Triggered auto assignment to @Christinadobrzyn (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 Nov 6, 2025

    @melvin-bot

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

  4. melvin-bot commented on Nov 6, 2025

    @melvin-bot

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

  5. github-actions commented on Nov 6, 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. Christinadobrzyn commented on Nov 6, 2025

    @Christinadobrzyn
    Contributor

    Not sure if this relates to #66559 (comment)

    @ikevin127 @DylanDylann could you take a peek?

  7. tgolen commented on Nov 6, 2025

    @tgolen
    Contributor

    It looks like it's probably more related to #74070

    @mkzie2 @akinwale

    Discussing this in slack here

  8. 30 remaining items

  9. parasharrajat commented on Nov 14, 2025

    @parasharrajat
    Member

    Let's keep the payment on the original for tracking... and confirm whether the deduction applies to the refactoring PR first before finalizing it yourself.

    And thus we can close this if nothing is pending here.

  10. ikevin127 commented on Nov 17, 2025

    @ikevin127
    Contributor

    We decided to handle payment here in the regression issue as we already have the correct payment due date on this one.

  11. Christinadobrzyn commented on Nov 19, 2025

    @Christinadobrzyn
    Contributor

    Ok payment here - #74433 (comment)

  12. added
    Daily
    and removed
    Weekly
    on Nov 19, 2025
  13. added
    Daily
    and removed
    Daily
    on Nov 19, 2025
  14. Christinadobrzyn commented on Nov 19, 2025

    @Christinadobrzyn
    Contributor

    @ikevin127 do we need a regression test for this?

  15. ikevin127 commented on Nov 19, 2025

    @ikevin127
    Contributor

    BugZero Checklist:

    • [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: N/A - Mistake during implementation

    • [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: https://github.com/Expensify/Expensify/issues/570156

    Regression Test Proposal

    1. Open App.
    2. Navigate to any workspace chat.
    3. Create a scan receipt with any category.
    4. After the expense is created, click on this expense.
    5. Click on the receipt and delete it.
    6. Verify that receipt is deleted without error.

    Do we agree 👍 or 👎.

    @Christinadobrzyn Done, this should be $125 since the first PR was reverted due to regression (this issue, identified here).

  16. Christinadobrzyn commented on Nov 20, 2025

    @Christinadobrzyn
    Contributor

    Regression test - #74433 (comment)
    Payment summary - #74433 (comment)

  17. Christinadobrzyn commented on Nov 20, 2025

    @Christinadobrzyn
    Contributor

    no regressions, closing out - payment summary for ND payments here - #74433 (comment)

  18. JmillsExpensify commented on Nov 25, 2025

    @JmillsExpensify
    Contributor

    $125 approved for @ikevin127

  19. parasharrajat commented on Dec 19, 2025

    @parasharrajat
    Member

    Payment requested as per #74433 (comment)

  20. twisterdotcom commented on Dec 19, 2025

    @twisterdotcom
    Contributor

    @parasharrajat has submitted payment for this report on ND here.

    SO: https://stackoverflowteams.com/c/expensify/questions/7582

    • Vendor found in VML: True. Status: Active
    • Amount requested: $125.00. No Payment Summary comment found.
    • I, @twisterdotcom am not already the BZ assignee. I have approved this payment.
    Zapier Logs Run ID: 00040eee-e0e7-a5a1-83df-ac50e4e16de4
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