Skip to content

[$250] Web - Dependent tag choices are cleared and actions are repeated when coming online #47113

Closed

Description

@IuliiaHerets

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.0.18-3
Reproducible in staging?: Y
Reproducible in production?: Y
The issue was found when executing this PR #44995 (comment)
Issue reported by: Applause Internal Team

Action Performed:

  1. ND: Navigate to https://staging.new.expensify.com/
  2. ND: Log in with a New Gmail account
  3. ND: Create a workspace
  4. ND: Switch to OD by navigating to Account settings - Cards & Domains
  5. OD: Navigate to Settings - Workspaces - Group - Created workspace - Tags
  6. OD: Enable "Use multiple levels of tags"
  7. OD: Click on the "Import from Spreadsheet" button
  8. OD: Uncheck "Are these independent tags?"
  9. OD: Upload the attached CSV file
  10. ND: Navigate to the workspace chat
  11. ND: Go offline
  12. ND: Navigate to Composers "+" button - Submit expense - Manual
  13. ND: Input any amount and click on "Next"
  14. ND: Set any value for "Merchant" and submit the expense
  15. ND: Click on the created expense
  16. ND: Click on "State" and select any value
  17. ND: Click on "Region" and select any value
  18. ND: Click on "City" and select any value
  19. ND: Click on "City" again and click on the set value to clear it
  20. ND: Go online

Expected Result:

Changes made while offline should be displayed instantly when coming online.

Actual Result:

Dependent tag choices are cleared and actions taken while offline are slowly repeated when coming online.

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6565973_1723145169511!Dependent_tags_tags.csv

Bug6565973_1723144860885.bandicam_2024-08-08_21-03-18-650.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0100368f8944905925
  • Upwork Job ID: 1823053155785640856
  • Last Price Increase: 2024-09-02
Issue OwnerCurrent Issue Owner: @Pujan92

Activity

  1. added
    Daily
    Bug
    on Aug 8, 2024
  2. melvin-bot commented on Aug 8, 2024

    @melvin-bot

    Triggered auto assignment to @miljakljajic (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. IuliiaHerets commented on Aug 8, 2024

    @IuliiaHerets
    Author

    We think that this bug might be related to #wave-collect - Release 1

  4. IuliiaHerets commented on Aug 8, 2024

    @IuliiaHerets
    Author

    @miljakljajic 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

  5. added
    External
    on Aug 12, 2024
  6. changed the title [-]Web - Dependent tag choices are cleared and actions are repeated when coming online[/-] [+][$250] Web - Dependent tag choices are cleared and actions are repeated when coming online[/+] on Aug 12, 2024
  7. melvin-bot commented on Aug 12, 2024

    @melvin-bot
  8. added
    Help Wanted
    on Aug 12, 2024
  9. melvin-bot commented on Aug 12, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @Pujan92 (External)

  10. cead22 commented on Aug 12, 2024

    @cead22
    Contributor

    This looks like a legit issue related to offline handling of requests, but not related to #45760 or #44995

  11. 10 remaining items

  12. melvin-bot commented on Aug 26, 2024

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  13. miljakljajic commented on Aug 28, 2024

    @miljakljajic
    Contributor

    @cead22 am I wrong thinking this could be handled externally?

  14. cead22 commented on Aug 28, 2024

    @cead22
    Contributor

    I thought the same, but I could see how this might be a tricky issue to fix. Should we close it?

  15. melvin-bot commented on Aug 28, 2024

    @melvin-bot

    This issue has not been updated in over 14 days. @Pujan92, @miljakljajic eroding to Weekly issue.

  16. melvin-bot commented on Sep 2, 2024

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  17. miljakljajic commented on Sep 4, 2024

    @miljakljajic
    Contributor

    Yeah, we can close.

  18. d-wwei commented on Mar 6, 2026

    @d-wwei

    I am interested in this issue. I have analyzed the description and the reproduction steps. It appears that dependent tag choices made while offline are not correctly persisted or replayed upon returning online, leading to them being cleared or slowly repeated. I plan to investigate the offline persistence logic for multi-level tags and ensure that the optimistic updates are correctly synchronized with the backend once the connection is restored. I have experience with React Native and handling complex offline states.

  19. melvin-bot commented on Mar 6, 2026

    @melvin-bot

    📣 @d-wwei! 📣
    Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
    Please follow these steps:

    1. Make sure you've read and understood the contributing guidelines.
    2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
    3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
    4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
      Screen Shot 2022-11-16 at 4 42 54 PM
      Format:
    Contributor details
    Your Expensify account email: <REPLACE EMAIL HERE>
    Upwork Profile Link: <REPLACE LINK HERE>
    
  20. d-wwei commented on Mar 6, 2026

    @d-wwei

    Contributor details
    Your Expensify account email: wweijoin@gmail.com
    Upwork Profile Link: https://www.upwork.com/freelancers/~010b64a310e922c43e

  21. melvin-bot commented on Mar 6, 2026

    @melvin-bot

    ✅ Contributor details stored successfully. Thank you for contributing to Expensify!

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

Metadata

Metadata

Labels

BugExternalHelp WantedWeekly

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions