Skip to content

[HOLD for #34988] [$500] Category - Selected category is absent in Recent when split scan is created offline #35063

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: 1.4.31-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Issue found when executing PR #34236

Action Performed:

Precondition: There are 5 items in Recent list for Category

  1. Go offline
  2. Go to workspace chat
  3. Create a split scan with a valid receipt and a category
  4. Go online
  5. Wait for the scan to complete
  6. After the scan split, open request money page and go to Category
  7. Refresh the page
  8. Repeat Step 6

Expected Result:

In Step 6, the category selected for the split scan will appear in Recent list

Actual Result:

In Step 6, the category selected for the split scan does not appear in Recent list. It only appears after refreshing the page in Step 7

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos

Add any screenshot/video evidence

Bug6353307_1706107548639.20240124_114059.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0126c98dc696c7c627
  • Upwork Job ID: 1750169212796604416
  • Last Price Increase: 2024-01-24

Activity

  1. added
    External
    Daily
    Bug
    on Jan 24, 2024
  2. changed the title [-]Category - Selected category is absent in Recent when split scan is created offline[/-] [+][$500] Category - Selected category is absent in Recent when split scan is created offline[/+] on Jan 24, 2024
  3. melvin-bot commented on Jan 24, 2024

    @melvin-bot
  4. melvin-bot commented on Jan 24, 2024

    @melvin-bot

    Triggered auto assignment to @greg-schroeder (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  5. added
    Help Wanted
    on Jan 24, 2024
  6. melvin-bot commented on Jan 24, 2024

    @melvin-bot

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

  7. lanitochka17 commented on Jan 24, 2024

    @lanitochka17
    Author

    We think that this bug might be related to #wave.
    CC @greg-schroeder

  8. Krishna2323 commented on Jan 24, 2024

    @Krishna2323
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Category - Selected category is absent in Recent when split scan is created offline

    What is the root cause of that problem?

    When creating optimistic IOU report using buildOptimisticTransaction we don't pass category.

    function buildOptimisticTransaction(

    What changes do you think we should make in order to solve the problem?

    We need to pass category and other missing fields when building optimistic data, tag and billable are also not passed to buildOptimisticTransaction.

    const splitTransaction = TransactionUtils.buildOptimisticTransaction(

    Result

  9. Krishna2323 commented on Jan 24, 2024

    @Krishna2323
    Contributor
  10. paultsimura commented on Jan 24, 2024

    @paultsimura
    Contributor

    This will be fixed in #34988 (comment)

  11. getusha commented on Jan 25, 2024

    @getusha
    Contributor

    @greg-schroeder i think we should HOLD this for #34988

  12. added
    Weekly
    Daily
    and removed
    Daily
    Weekly
    Help Wanted
    on Jan 26, 2024
  13. changed the title [-][$500] Category - Selected category is absent in Recent when split scan is created offline[/-] [+][HOLD for #34988] [$500] Category - Selected category is absent in Recent when split scan is created offline[/+] on Jan 26, 2024
  14. greg-schroeder commented on Jan 26, 2024

    @greg-schroeder
    Contributor

    Held, we'll close this if it's fixed by #34988

  15. added
    Weekly
    and removed
    Daily
    on Jan 26, 2024
  16. greg-schroeder commented on Feb 6, 2024

    @greg-schroeder
    Contributor

    #34988 was deployed to prod - @getusha @paultsimura can either of you confirm this was in fact fixed and can be closed?

  17. paultsimura commented on Feb 6, 2024

    @paultsimura
    Contributor

    From my side, I can confirm it's fixed:

    Screen.Recording.2024-02-06.at.09.13.40-compressed.mp4
  18. greg-schroeder commented on Feb 8, 2024

    @greg-schroeder
    Contributor

    Looks that way. Let's close then.

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

Metadata

Metadata

Labels

BugExternalWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions