Skip to content

[Pay 2023-08-31] [$2000] Web - Contacts are being shown twice after creating a new group and a new workspace #21706

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 a new expensify account and sign in
  2. Click on FAB > New group
  3. Select a few members and create the group
  4. Click on Settings > Workspace > New workspace
  5. Go to workspace settings > Members
  6. Invite all the members you have added to the group you created
  7. Go to home and click on FAB > New group or click on the search icon at the top
  8. Observe the contacts listed

Expected Result:

One contact should be listed for one account

Actual Result:

One account email is being shown twice on the new group or search contact list

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.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
Notes/Photos/Videos: Any additional supporting documentation

2023-06-23.18.51.45.1.mp4
Recording.5187.1.mp4

Expensify/Expensify Issue URL:
Issue reported by: @Nathan-Mulugeta
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687535779695869

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01cf2a06b0a928050c
  • Upwork Job ID: 1673974741833641984
  • Last Price Increase: 2023-07-17
  • Automatic offers:
    • aimane-chnaif | Reviewer | 26037525
    • StevenKKC | Contributor | 26037528
    • Nathan-Mulugeta | Reporter | 26037530

Activity

  1. added
    Daily
    Bug
    on Jun 27, 2023
  2. melvin-bot commented on Jun 27, 2023

    @melvin-bot

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

  3. melvin-bot commented on Jun 27, 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. dummy-1111 commented on Jun 27, 2023

    @dummy-1111
    Contributor

    I don't think this is a bug. There exists separate reports for workspace members and group members for sure.

  5. Nathan-Mulugeta commented on Jun 27, 2023

    @Nathan-Mulugeta

    This didn't occur before, is this a new feature?

  6. conorpendergrast commented on Jun 28, 2023

    @conorpendergrast

    You don't even need to invite to the workspace to see this bug: when you enter the full email into the Invite field, the user shows up twice:

    image
  7. conorpendergrast commented on Jun 28, 2023

    @conorpendergrast

    Regardless, I have reproduced this. This is indeed a bug, as users should not appear twice when you are creating a group DM (or inviting to a workspace).

    image
  8. conorpendergrast commented on Jun 28, 2023

    @conorpendergrast

    This appears to be reproducible anywhere that you can filter a contact lists, such as:

    Assigning a task Second money Starting a new 1:1 DM Splitting a bill Requesting money
    image image image image image
  9. added
    External
    on Jun 28, 2023
  10. changed the title [-]Web - Contacts are being shown twice after creating a new group and a new workspace[/-] [+][$1000] Web - Contacts are being shown twice after creating a new group and a new workspace[/+] on Jun 28, 2023
  11. melvin-bot commented on Jun 28, 2023

    @melvin-bot
  12. added
    Help Wanted
    on Jun 28, 2023
  13. melvin-bot commented on Jun 28, 2023

    @melvin-bot

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

  14. 118 remaining items

  15. aimane-chnaif commented on Aug 31, 2023

    @aimane-chnaif
    Contributor

    This regression came from secure logins migration refactor where we replaced login with accountID.

    Regression Test Proposal:

    1. Login any account A
    2. Click on FAB > New chat
    3. Type and select account B that has never chatted with before
    4. Verify that new chat with B is created
    5. Click Search
    6. Verify that B doesn't show twice in search result
    7. Create new workspace
    8. Go to workspace settings > Members
    9. Invite B
    10. Repeat the steps 4-5
  16. conorpendergrast commented on Aug 31, 2023

    @conorpendergrast

    I can't see anything that would explain why we wouldn't pay this today. Given that, I'm going to set this up to pay today (2023-08-31)

  17. changed the title [-][$2000] Web - Contacts are being shown twice after creating a new group and a new workspace[/-] [+][Pay 2023-08-31] [$2000] Web - Contacts are being shown twice after creating a new group and a new workspace[/+] on Aug 31, 2023
  18. added
    Awaiting Payment
    on Aug 31, 2023
  19. conorpendergrast commented on Aug 31, 2023

    @conorpendergrast

    Payouts due:

    Eligible for 50% #urgency bonus? Yes

    Upwork job is here.

  20. conorpendergrast commented on Aug 31, 2023

    @conorpendergrast

    All paid and regression test created https://github.com/Expensify/Expensify/issues/312805

    We did it!

  21. aimane-chnaif commented on Aug 31, 2023

    @aimane-chnaif
    Contributor

    Timeline analysis:

    • when @StevenKKC got assigned: 2023-08-09 21:28 UTC
    • when C+ approved PR: 2023-08-11 19:16 UTC
    • when the PR got merged: 2023-08-17 03:31 UTC

    We're waiting for @bondydaa's review for 3 business days

  22. conorpendergrast commented on Aug 31, 2023

    @conorpendergrast

    DAMMIT BONDY

  23. melvin-bot commented on Sep 4, 2023

    @melvin-bot

    @bondydaa, @conorpendergrast, @aimane-chnaif, @StevenKKC Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  24. conorpendergrast commented on Sep 4, 2023

    @conorpendergrast

    Ok, bonuses sent. Now all done

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineeringExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions