Skip to content

[HOLD for payment 2024-04-05] App crashes trying to render QAB #38972

@rafecolton

Description

@rafecolton

Introduced in #38669

cc @Gonals @marcaaron

Version Number: Tested on main@1b0fe6d2ee
Reproducible in staging?:
Reproducible in production?:
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: me
Slack conversation: https://expensify.slack.com/archives/C03TQ48KC/p1711407644753289 (Expensify internal)

Action Performed:

Break down in numbered steps

  1. Create a new chat from one new user to another new user
  2. App crashes

Expected Result:

App doesn't crash

Actual Result:

App crashes due to empty string being passed to translate()

Screenshot 2024-03-25 at 4 00 55 PM

There's also a proptypes warning which is likely due to the wrong type being passed from the API

Screenshot 2024-03-25 at 3 58 57 PM

Workaround:

N/A

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

View all open jobs on GitHub

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.WeeklyKSv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions