Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Room - App crashed in IOS after tap on Room name to view details after creating a Policy Room #7055

Closed
kbecciv opened this issue Jan 6, 2022 · 12 comments
Assignees
Labels
Daily KSv2 Engineering Reviewing Has a PR in review

Comments

@kbecciv
Copy link

kbecciv commented Jan 6, 2022

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 was found when executing #6737

Action Performed:

  1. Launch the app and login
  2. Tap the global create + button and choose New Room
  3. Name it something and select your workspace
  4. After room created Tap on Room name to view details

Expected Result:

Room details displayed

Actual Result:

App crashed

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web - Blank screen
  • iOS - App crashes
  • Android - Blank screen
  • Desktop App - Blank screen
  • Mobile Web - Blank screen

Image from iOS (1)

Bug5396686_RPReplay_Final1641435006.mp4

Version Number: 1.1.26 -0

Reproducible in staging?: Yes

Reproducible in production?: No

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

Notes/Photos/Videos:

In production blank page appears with page title "Detail" where as in staging blank page appears in all other environments except iOS app

Expensify/Expensify Issue URL:

Issue reported by: Applause

Slack conversation:

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Jan 6, 2022
@OSBotify
Copy link
Contributor

OSBotify commented Jan 6, 2022

👋 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.

@MelvinBot
Copy link

Triggered auto assignment to @pecanoro (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@kbecciv kbecciv changed the title Room - Blank page displayed for the room details, app crashed in IOS Room - App crashed in IOS after tap on Room name to view details Jan 6, 2022
@mvtglobally
Copy link

@pecanoro We made it a deploy blocker since the IOS crash is only repro in Staging, while Blank page in other requirements is repro in Prod today

@francoisl
Copy link
Contributor

@TomatoToaster any idea what could be causing this, in regards to #6737?

@TomatoToaster
Copy link
Contributor

Looking into this now, trying to recreate locally 👀

@francoisl
Copy link
Contributor

francoisl commented Jan 6, 2022

I can't reproduce on main, going to try from 1.1.26-0 specifically.

@kavimuru
Copy link

kavimuru commented Jan 7, 2022

@TomatoToaster Issue is still reproducible in all the environments in the build 1.1.26 -1. PR #7065 is failing still.
Note: If the New room created in another workspace where user is a member then it works fine. Attaching the video too

IMG_9364.mp4

.

@TomatoToaster
Copy link
Contributor

Hmm I see, thanks for the video! I'm able to recreate this too. But it seems like it works AFTER you've crashed and log back into the app right? I've got it to show me a policy room with 0 members that way.

This is how it should look for empty members:
image

Like it seems like the specific broken case is right after a policy room is created, it has no avatar, and it crashes after you try to look at room details, if you have no other members in the Workspace. The report must not be loading properly after it's created and is in some weird state, causing it to crash when the report details are clicked on.

Since this feature is in beta, and the app is usable after it crashes, I'm going to say this isn't a deployblocker but a daily we should be looking to fix (CC: @francoisl @jasperhuangg). I'll modify the issue body accordingly.

@TomatoToaster TomatoToaster added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jan 7, 2022
@TomatoToaster TomatoToaster changed the title Room - App crashed in IOS after tap on Room name to view details Room - App crashed in IOS after tap on Room name to view details after creating a Policy Room Jan 7, 2022
@francoisl
Copy link
Contributor

Sounds good to me. For the record, the beta flag is defaultRooms, and there is no one other than internal testers on this beta yet.
Let's maybe double-check that the crash doesn't occur for accounts that are not on the beta first?

@TomatoToaster
Copy link
Contributor

Still working on this. Was investigating a fix for this and haven't found it yet. What I know so far is we might have to rework how we add the new Chat Room Report "optimistically" because it seems to making incomplete report data.

@TomatoToaster
Copy link
Contributor

Got a draft that I think will address the icon issue for policy rooms which I think will fix the crash. I'm going to test a few platforms and scenarios (single member workspace, admin and user workspace, from user perspective).

@TomatoToaster TomatoToaster added the Reviewing Has a PR in review label Jan 21, 2022
@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@botify botify closed this as completed Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Engineering Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

9 participants