Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The report preview is not removed when request is made offline and becomes stale #26264

Closed
1 of 6 tasks
kavimuru opened this issue Aug 29, 2023 · 89 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Aug 29, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Login as User A and User B in front of you at the same time.
  2. As User A Go offline
  3. As User A requests Money from User B ( make sure it works by avoiding the bugs around the IOU feature Now )
  4. As User B open the chat and request money from User A.
  5. Now back to User A and go online.

Expected Result: -

There is only one report preview for both User A and User B

Actual Result:

User A has two report previews, the second one is the correct one but the first one is the stale report preview which needs to be removed with pusher update when this collision happens. Its linking to the previously optimistically created report which is stale and no longer valid.

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.58-0
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
Notes/Photos/Videos: Any additional supporting documentation

1701128113639945.mp4

Expensify/Expensify Issue URL:
Issue reported by: @Ahmed-Abdella
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692590693071889

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01d18debe98d8308dd
  • Upwork Job ID: 1699073811659808768
  • Last Price Increase: 2023-10-02
  • Automatic offers:
    • mollfpr | Reviewer | 26983423
    • Ahmed-Abdella | Reporter | 26983426
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 29, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 29, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 29, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@Ahmed-Abdella
Copy link
Contributor

Ahmed-Abdella commented Aug 29, 2023

Important notice:
The behavior here differs based on whether User B's request is smaller or larger than User A's.

  1. If user B's request is smaller It behaves exactly like the report steps and results. The first money request is not calculated (see the second video in the report)

  2. If user B's request is larger, the money amount will be calculated, but there are bugs such as the first money request from user A while offline resulting in a broken link that opens a "page not found" error. (see the first video in the report)

So, To reproduce all the bugs related to this issue, request a smaller amount as User B.

@isabelastisser
Copy link
Contributor

I'm heading OOO now and will be back on Sept 5; I will reapply the Bug label but leave myself assigned in case I need to action this once I'm back. Thanks!

Summary: I haven't touched this issue yet, so all the triage steps are pending.

@isabelastisser isabelastisser removed their assignment Aug 30, 2023
@isabelastisser isabelastisser added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels Aug 30, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 30, 2023

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

@melvin-bot

This comment was marked as duplicate.

@isabelastisser isabelastisser self-assigned this Aug 30, 2023
@melvin-bot melvin-bot bot added the Overdue label Sep 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 5, 2023

@michaelhaxhiu, @isabelastisser Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot melvin-bot bot removed the Overdue label Sep 5, 2023
@isabelastisser isabelastisser added the External Added to denote the issue can be worked on by a contributor label Sep 5, 2023
@melvin-bot melvin-bot bot changed the title The App doesn't send an offline money request to a user who made a request after. [$500] The App doesn't send an offline money request to a user who made a request after. Sep 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 5, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01d18debe98d8308dd

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 5, 2023

Current assignee @isabelastisser is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Sep 5, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 11, 2023

@mollfpr, @isabelastisser Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot melvin-bot bot added the Overdue label Sep 11, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 11, 2023

@mollfpr, @isabelastisser Huh... This is 4 days overdue. Who can take care of this?

@mollfpr
Copy link
Contributor

mollfpr commented Sep 11, 2023

No new proposals.

@melvin-bot melvin-bot bot removed the Overdue label Sep 11, 2023
@melvin-bot melvin-bot bot added the Overdue label Dec 11, 2023
@danieldoglas
Copy link
Contributor

Still didn't have the time to look into this one.

@melvin-bot melvin-bot bot removed the Overdue label Dec 11, 2023
@melvin-bot melvin-bot bot added the Overdue label Dec 20, 2023
@danieldoglas
Copy link
Contributor

I'll be OOO starting this Friday, and will tackle this when I'm back

@melvin-bot melvin-bot bot removed the Overdue label Dec 22, 2023
@melvin-bot melvin-bot bot added the Overdue label Jan 1, 2024
@isabelastisser
Copy link
Contributor

Not overdue.

@melvin-bot melvin-bot bot removed the Overdue label Jan 2, 2024
@melvin-bot melvin-bot bot added the Overdue label Jan 11, 2024
@isabelastisser
Copy link
Contributor

No updates.

@melvin-bot melvin-bot bot removed the Overdue label Jan 11, 2024
@melvin-bot melvin-bot bot added the Overdue label Jan 22, 2024
@isabelastisser
Copy link
Contributor

No updates.

@melvin-bot melvin-bot bot removed the Overdue label Jan 22, 2024
@melvin-bot melvin-bot bot added the Overdue label Jan 30, 2024
@isabelastisser
Copy link
Contributor

Any updates @danieldoglas ?

@melvin-bot melvin-bot bot removed the Overdue label Jan 30, 2024
@danieldoglas
Copy link
Contributor

@isabelastisser I haven't really worked on this yet, but based on our new rules, we should find a wave and fit it into the wave now. Considering that it's related to requests I think it should fit into wave5. And it should probably enter the priority system of that wave.

Can you please post it there?

Thanks!

@isabelastisser
Copy link
Contributor

Yes, thanks for the heads up @danieldoglas! :)

@isabelastisser
Copy link
Contributor

Asking here.

@danieldoglas danieldoglas removed their assignment Feb 2, 2024
@melvin-bot melvin-bot bot added the Overdue label Feb 12, 2024
@isabelastisser
Copy link
Contributor

Bumped the question in Slack. https://expensify.slack.com/archives/C05DWUDHVK7/p1707845988509359

@melvin-bot melvin-bot bot removed the Overdue label Feb 13, 2024
@youssef-lr
Copy link
Contributor

I think this was fixed here. Reproduction steps look the same.

@isabelastisser
Copy link
Contributor

Thanks for the heads up, @youssef-lr! Closing this.

@Ahmed-Abdella
Copy link
Contributor

Ahmed-Abdella commented Mar 12, 2024

Hey, @isabelastisser, @mountiny, Sorry but shouldn't this be eligible for reporting bonus?

@mountiny
Copy link
Contributor

Discussed in slack, no reporting bonus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Weekly KSv2
Projects
None yet
Development

No branches or pull requests