Skip to content

[HOLD for payment 2023-07-26] [$1000] Web - Order of task notification messages incorrect when back online #21314

Closed

Description

@kbecciv

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Open any report
  2. Create a task
  3. Setting => Preferences => Force offline
  4. Click Mark as done
  5. Click three dot => mark as incomplete
  6. Click three dot => Cancel
  7. Setting => Preferences => Toggle Force Offline => Close
  8. Observe the message order:completed task => reopened task => canceled task
  9. Reload page: Observe the message order: cancel task => task completed => task reopened

Expected Result:

After reload page the message order is correct: completed task => reopened task => canceled task

Actual Result:

After reload page message order is not correct

Workaround:

Unknown

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.28-4

Reproducible in staging?: n/a

Reproducible in production?: n/a

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

Screen.Recording.2023-06-16.at.11.17.58.mov

Expensify/Expensify Issue URL:

Issue reported by: @namhihi237

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686889606135589

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017368db113f47cd42
  • Upwork Job ID: 1672010591582208000
  • Last Price Increase: 2023-06-22

Activity

  1. added
    Daily
    Needs Reproduction
    Bug
    on Jun 22, 2023
  2. melvin-bot commented on Jun 22, 2023

    @melvin-bot

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

  3. melvin-bot commented on Jun 22, 2023

    @melvin-bot

    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
  4. lschurr commented on Jun 22, 2023

    @lschurr
    Contributor

    I was able to reproduce:

    image image
  5. added
    External
    on Jun 22, 2023
  6. changed the title [-]Web - Order of task notification messages incorrect when back online[/-] [+][$1000] Web - Order of task notification messages incorrect when back online[/+] on Jun 22, 2023
  7. melvin-bot commented on Jun 22, 2023

    @melvin-bot
  8. added
    Help Wanted
    on Jun 22, 2023
  9. melvin-bot commented on Jun 22, 2023

    @melvin-bot

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

  10. removed
    Needs Reproduction
    Help Wanted
    on Jun 22, 2023
  11. 61 remaining items

  12. melvin-bot commented on Jul 19, 2023

    @melvin-bot

    BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • [@rushatgabhane] The PR that introduced the bug has been identified. Link to the PR:
    • [@rushatgabhane] 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:
    • [@rushatgabhane] A discussion in #expensify-bugs 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:
    • [@rushatgabhane] Determine if we should create a regression test for this bug.
    • [@rushatgabhane] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@lschurr] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  13. added
    Daily
    and removed
    Weekly
    on Jul 25, 2023
  14. lschurr commented on Jul 25, 2023

    @lschurr
    Contributor

    Payout summary:

    @namhihi237 and @hoangzinh will be paid in Upwork: https://www.upwork.com/jobs/~017368db113f47cd42
    @rushatgabhane please request payment via ND if you haven't already

  15. lschurr commented on Jul 25, 2023

    @lschurr
    Contributor

    Also @rushatgabhane could you work on the checklist? #21314 (comment)

  16. lschurr commented on Jul 26, 2023

    @lschurr
    Contributor

    Paid @namhihi237 and @hoangzinh

    We can close once you are able to work through the checklist @rushatgabhane

  17. lschurr commented on Jul 27, 2023

    @lschurr
    Contributor
  18. lschurr commented on Jul 31, 2023

    @lschurr
    Contributor

    Bumped @rushatgabhane in Slack

  19. rushatgabhane commented on Aug 2, 2023

    @rushatgabhane
    Member
    1. The PR that introduced the bug has been identified. Link to the PR: CancelTask frontend #18747

    2. 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: https://github.com/Expensify/App/pull/18747/files#r1281485361

    3. A discussion in #expensify-bugs 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: https://expensify.slack.com/archives/C01GTK53T8Q/p1690960660121509

    4. Determine if we should create a regression test for this bug. No

    5. If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again - N.A.

  20. rushatgabhane commented on Aug 2, 2023

    @rushatgabhane
    Member
  21. lschurr commented on Aug 2, 2023

    @lschurr
    Contributor

    Great thanks! Going to close this one out.

  22. JmillsExpensify commented on Aug 4, 2023

    @JmillsExpensify
    Contributor

    Reviewed details for @rushatgabhane. These details are accurate based on summary from Business Reviewer and are now approved for payment in NewDot.

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions