Skip to content

App crashes when attempting to open an #admins room #44583

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!


Version Number: 9.0.3-1
Reproducible in staging?: Yes
Reproducible in production?: No
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
Expensify/Expensify Issue URL:
Issue reported by: @francoisl
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1719528213578329

Action Performed:

  1. Create a workspace
  2. Open the workspace's settings page and change anything that would cause a system message in the admins room
    For example, create, delete, rename or disable a category ; add tags, etc.
  3. Try to open the admins room for that workspace

Expected Result:

Workspace Admin room opens

Actual Result:

App crashes when opening admin room

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

Screen.Recording.2024-06-27.at.3.41.34.PM.mov
Recording.263.mp4
Recording.262.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    BugSomething is broken. Auto assigns a BugZero manager.
    DeployBlockerIndicates it should block deploying the API
    on Jun 28, 2024
  2. melvin-bot commented on Jun 28, 2024

    @melvin-bot

    Triggered auto assignment to @CortneyOfstad (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 Jun 28, 2024

    @melvin-bot

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

  4. github-actions commented on Jun 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. neonbhai commented on Jun 28, 2024

    @neonbhai
    Contributor

    Fixed on latest main:

    Screen.20Recording.202024-06-28.20at.205.mp4
  6. robertjchen commented on Jun 28, 2024

    @robertjchen
    Contributor

    got it, thanks!

  7. 23 remaining items

  8. jasperhuangg commented on Jul 1, 2024

    @jasperhuangg
    Contributor

    Looks like @roryabraham is OOO today so in the interest of pushing deploy forward I'm gonna go ahead and revert that PR

  9. jasperhuangg commented on Jul 1, 2024

    @jasperhuangg
    Contributor
    Screenshot 2024-07-01 at 4 21 24 PM

    btw @roryabraham here's the error

  10. roryabraham commented on Jul 1, 2024

    @roryabraham
    Contributor

    Reverting that PR will cause another regression @jasperhuangg

    edit: sorry, was thinking of another PR. This one should be fine to revert

  11. roryabraham commented on Jul 1, 2024

    @roryabraham
    Contributor

    @jasperhuangg can you try this PR and see if it solves the problem?

    #44681

  12. roryabraham commented on Jul 1, 2024

    @roryabraham
    Contributor

    If it does, you could actually take it a step further and just remove the useLastAccessedReportID hook and put findLastAccessedReport in a useEffect directly

  13. neonbhai commented on Jul 1, 2024

    @neonbhai
    Contributor

    Came across very similar warning to #44583 (comment) while investigating this on native device, asking to memoize getSnapshot call in useOnyx.ts

    Image Screenshot 2024-07-01 at 1 44 12 AM
  14. jasperhuangg commented on Jul 1, 2024

    @jasperhuangg
    Contributor

    Ah shoot @roryabraham jumped the gun and missed your messages, my bad! The CP is already under way and it looks like that PR you linked is still an early draft–do you mind if we try to get it out in tomorrow's deploy? I'd feel better if we had some more time to test everything thoroughly without any time pressure today.

  15. jasperhuangg commented on Jul 2, 2024

    @jasperhuangg
    Contributor

    Can't reproduce this anymore on staging

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions