Skip to content

[HOLD for payment 2024-05-08] App crashes while trying to join public room via deep link #41170

Closed

Description

@m-natarajan

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


Issue found validating #40701
Version Number: 1.4.67-0
Reproducible in staging?: y
Reproducible in production?: no
If this was caught during regression testing, add the test name, ID and link from TestRail: n/a
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:

Action Performed:

  1. Open any chat and paste Public room link (e.g. https://staging.new.expensify.com/r/2652281908731856)
  2. Click on the link
  3. if the issue not reproduced - leave the room and click on the link again

Expected Result:

The user should be able to join Public rooms via deep link

Actual Result:

in 50/50 times the app crashes in case of use Public room deep link

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

Bug6464352_1714307515239.Screen_Recording_2024-04-28_at_15.25.00.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01e9d522b8dfa6acfe
  • Upwork Job ID: 1784911146535624704
  • Last Price Increase: 2024-04-29
Issue OwnerCurrent Issue Owner: @puneetlath / @twisterdotcom

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    on Apr 28, 2024
  2. melvin-bot commented on Apr 28, 2024

    @melvin-bot

    Triggered auto assignment to @twisterdotcom (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. melvin-bot commented on Apr 28, 2024

    @melvin-bot

    Triggered auto assignment to @puneetlath (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  4. github-actions commented on Apr 28, 2024

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  5. m-natarajan commented on Apr 28, 2024

    @m-natarajan
    Author

    @puneetlath FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

  6. m-natarajan commented on Apr 28, 2024

    @m-natarajan
    Author

    We think this bug might be related to #vip-vsb

  7. twisterdotcom commented on Apr 29, 2024

    @twisterdotcom
    Contributor

    I can actually never get this to work if I'm not a member of the room already, I ALWAYS hit this {"jsonCode":407,"title":"Session expired","message":"Your session has expired. Please sign in again.","requestID":"87beeeb619a894a6-LHR"}

    image
  8. twisterdotcom commented on Apr 29, 2024

    @twisterdotcom
    Contributor

    Sometimes I'll get

    {"code":666,"jsonCode":403,"type":"Expensify\Libs\Error\ExpError","UUID":"da7984df-628f-41f6-a2b8-ecd4499f7975","message":"Report not found","title":"","data":{"onyxData":[{"onyxMethod":"merge","key":"report_0","value":{"errorFields":{"notFound":{"1714390877809894":"Report not found"}}}}]},"htmlMessage":"","requestID":"87bf05a98be594a6-LHR"}` as well.

  9. 31 remaining items

  10. twisterdotcom commented on Apr 30, 2024

    @twisterdotcom
    Contributor

    I don't think @Ollyws needs paying out here, this was reviewed by @puneetlath.

    @MonilBhavsar or @puneetlath do we need a test here too? I think we already have tests but perhaps we could just use the QA steps from #40701?

    1. Create a public room as an admin
    2. As a user A, join the public room
    3. Copy the public room URL and signout
    4. Paste the URL and signin
    5. Leave the room
    6. Ensure you're redirected to Concierge chat
    7. As a user A, join the public room again
    8. This time visit two other reports - X and Y and then go to public room
    9. Leave the room
    10. Ensure you're redirected to report Y
    11. Create a group as an admin with user A and user B
    12. As a user B visit the group
    13. Click on group title and Leave the group
    14. Ensure you're redirected to last visited report
  11. removed
    Awaiting Payment
    on Apr 30, 2024
  12. changed the title [-][HOLD for payment 2024-05-06] [$250] App crashes while trying to join public room via deep link[/-] [+]App crashes while trying to join public room via deep link[/+] on Apr 30, 2024
  13. MonilBhavsar commented on Apr 30, 2024

    @MonilBhavsar
    Contributor

    Yes, looks good 👍

  14. puneetlath commented on Apr 30, 2024

    @puneetlath
    Contributor

    Sounds good to me!

  15. twisterdotcom commented on Apr 30, 2024

    @twisterdotcom
    Contributor

    All done

  16. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on May 1, 2024
  17. changed the title [-]App crashes while trying to join public room via deep link[/-] [+][HOLD for payment 2024-05-08] App crashes while trying to join public room via deep link[/+] on May 1, 2024
  18. melvin-bot commented on May 1, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.68-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2024-05-08. 🎊

  19. melvin-bot commented on May 1, 2024

    @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:

    • [@puneetlath / @MonilBhavsar] The PR that introduced the bug has been identified. Link to the PR:
    • [@puneetlath / @MonilBhavsar] 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:
    • [@puneetlath / @MonilBhavsar] 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:
    • [@puneetlath / @MonilBhavsar] Determine if we should create a regression test for this bug.
    • [@puneetlath / @MonilBhavsar] 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.
    • [@puneetlath / @twisterdotcom] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  20. twisterdotcom commented on May 1, 2024

    @twisterdotcom
    Contributor

    Already done.

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

Metadata

Metadata

Labels

Awaiting PaymentBugEngineeringInternalWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions