Room - App crashed in IOS after tap on Room name to view details after creating a Policy Room
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue was found when executing #6737
Action Performed:
- Launch the app and login
- Tap the global create + button and choose New Room
- Name it something and select your workspace
- 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

https://user-images.githubusercontent.com/93399543/148324182-6dbac825-3d7d-4675-9726-50371c9333dd.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:
:wave: 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:
- Identify the pull request that introduced this issue and revert it.
- Find someone who can quickly fix the issue.
- Fix the issue yourself.
Triggered auto assignment to @pecanoro (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
@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
@TomatoToaster any idea what could be causing this, in regards to https://github.com/Expensify/App/pull/6737?
Looking into this now, trying to recreate locally 👀
I can't reproduce on main, going to try from 1.1.26-0 specifically.
@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
https://user-images.githubusercontent.com/43996225/148567251-80c4cc7b-0caf-4d1d-8327-1c2bb8060279.mp4
.
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:

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.
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?
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.
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).
Issue not reproducible during KI retests. (First week)