Skip to content

Badge is shown though there is no outstanding IOU for a chat of a High Traffic account #12850

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. Launch the app
  2. Log in with HT account
  3. Select any user in LHN

Expected Result:

Chat conversation should be loaded

Actual Result:

Chat conversation is not loading for High Traffic account

Workaround:

Unknown

Platform:

Where is this issue occurring?

All the platforms

Version Number: 1.2.29.2

Reproducible in staging?: Yes

Reproducible in production?: n/a

Email or phone of affected tester (no customers): applausetester+0901abb@applause.expensifail.com

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5825244_Screen_Recording_20221117-142224_New_Expensify.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit

Activity

  1. added
    Daily
    Bug
    on Nov 17, 2022
  2. melvin-bot commented on Nov 17, 2022

    @melvin-bot

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

  3. added
    External
    on Nov 18, 2022
  4. melvin-bot commented on Nov 18, 2022

    @melvin-bot

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

  5. melvin-bot commented on Nov 18, 2022

    @melvin-bot
  6. melvin-bot commented on Nov 18, 2022

    @melvin-bot

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

  7. added
    Help Wanted
    on Nov 18, 2022
  8. melvin-bot commented on Nov 18, 2022

    @melvin-bot

    Triggered auto assignment to @cristipaval (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

  9. changed the title [-]Android- Chat - Chat conversation is not loading for High Traffic account[/-] [+][$250] Android- Chat - Chat conversation is not loading for High Traffic account[/+] on Nov 18, 2022
  10. rushatgabhane commented on Nov 18, 2022

    @rushatgabhane
    Member
  11. markarmanus commented on Nov 18, 2022

    @markarmanus
    Contributor

    @kbecciv @rushatgabhane is it possible to get the login details for the account, to reproduce the issue ?

  12. 62 remaining items

  13. trjExpensify commented on Dec 20, 2022

    @trjExpensify
    Contributor

    One thing I am still wondering is: Could be possible that the item 1 from my comment #12850 (comment) is occurring due to the same issue? I mean because the account was closed while having outstanding IOUs?

    Yeah, it's probably likely, but a good one to test once we fix the logic to make sure we are canceling outstanding IOU transactions in the case where you're owed money when you close your account (like we are when you owe money which works without issue). 👍

  14. cristipaval commented on Dec 22, 2022

    @cristipaval
    Contributor

    I looked at the code which cancels the IOU transactions when closing an account. The thing that caught my eye is that the IOU transaction is canceled only if the user is the manager of that report (see code here). I am going to ask for help on Slack as I need to understand what is a report manager (I guess it's a role with some permissions on the report) and what kind of transactions we have on a report. I want to better understand the impact of my changes.

  15. added
    Reviewing
    on Dec 22, 2022
  16. cristipaval commented on Dec 22, 2022

    @cristipaval
    Contributor

    @trjExpensify I tested having your hunch on my mind and I could reproduce the other issue as well (chat does not load). What I can tell is that it happens when the close account operation fails due to multiple possible exceptions. By canceling all outstanding IOUs we narrow down the possible exceptions that could be thrown.

  17. melvin-bot commented on Dec 30, 2022

    @melvin-bot

    @cristipaval Whoops! This issue is 2 days overdue. Let's get this updated quick!

  18. marcaaron commented on Jan 2, 2023

    @marcaaron
    Contributor

    we should more broadly consider how DMs with closed accounts should work. I.e why aren't they archived, just like rooms? Why can you still request money from someone who's actively closed their account, and further why do you still get email summaries when the NotifyOfflineUsersAboutActivity job runs when you've closed your account?

    IIRC it has always been a built-in feature of chat reports that they would never get closed. I think that initially stemmed from the support requirement where people who have closed their accounts may still need to interact with Concierge. And my guess would be we just extended that out to all chat reports.

  19. melvin-bot commented on Jan 3, 2023

    @melvin-bot

    @cristipaval Still overdue 6 days?! Let's take care of this!

  20. melvin-bot commented on Jan 5, 2023

    @melvin-bot

    @cristipaval Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

  21. melvin-bot commented on Jan 9, 2023

    @melvin-bot

    @cristipaval 12 days overdue now... This issue's end is nigh!

  22. cristipaval commented on Jan 11, 2023

    @cristipaval
    Contributor

    PR is still in review due to a technical debate.
    Trying to push it forward here.

  23. cristipaval commented on Jan 12, 2023

    @cristipaval
    Contributor

    I don't know why Melvin didn't close this one. PR is in production.

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

Metadata

Metadata

Assignees

Labels

BugDailyInternalReviewing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions