App icon indicating copy to clipboard operation
App copied to clipboard

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

Open kbecciv opened this issue 4 years ago • 12 comments

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:

  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)

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:

View all open jobs on GitHub

kbecciv avatar Jan 06 '22 03:01 kbecciv

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

  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.

OSBotify avatar Jan 06 '22 03:01 OSBotify

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

MelvinBot avatar Jan 06 '22 03:01 MelvinBot

@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

mvtglobally avatar Jan 06 '22 03:01 mvtglobally

@TomatoToaster any idea what could be causing this, in regards to https://github.com/Expensify/App/pull/6737?

francoisl avatar Jan 06 '22 18:01 francoisl

Looking into this now, trying to recreate locally 👀

TomatoToaster avatar Jan 06 '22 20:01 TomatoToaster

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

francoisl avatar Jan 06 '22 20:01 francoisl

@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

.

kavimuru avatar Jan 07 '22 15:01 kavimuru

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 avatar Jan 07 '22 15:01 TomatoToaster

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?

francoisl avatar Jan 07 '22 18:01 francoisl

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 avatar Jan 12 '22 18:01 TomatoToaster

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 avatar Jan 14 '22 23:01 TomatoToaster

Issue not reproducible during KI retests. (First week)

mvtglobally avatar Jan 25 '22 03:01 mvtglobally