Skip to content

[$1000] reportID prop type errors for IOU chats #13591

Description

@neil-marcellini

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

IOU requests to another user

  1. Request money a user
  2. Go to the chat with that user
  3. Refresh the page

IOU requests from another user

  1. With an account A, request money from account B
  2. Log in as account B and go to the chat with the request
  3. Click on the IOU request to open the details page

Expected Result:

No console errors appear

Actual Result:

After IOU requests to another user the following console errors appear.

  1. Warning: Failed prop type: Invalid prop walletTerms.chatReportID of type
    number supplied to AvatarWithIndicator, expected string.
  2. Warning: Failed prop type: Invalid prop walletTerms.chatReportID of type
    number supplied to IOUPreview, expected string.

After IOU requests from another user the following console errors appear.

  1. Warning: Failed prop type: Invalid prop chatReportID of type number
    supplied to SettlementButton, expected string.
  2. react_devtools_backend.js:4012 Warning: Failed prop type: Invalid prop
    chatReportID of type number supplied to KYCWall, expected string.

Workaround:

Console errors don't negatively affect the app at all.

Platform:

All

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: v1.2.39-0
Reproducible in staging?: No, dev only
Reproducible in production?: No, dev only
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Screen.Recording.2022-12-14.at.11.32.13.AM.mov

Expensify/Expensify Issue URL:
Issue reported by: @neil-marcellini
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1671046426516899

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~018cd2c068185ca063
  • Upwork Job ID: 1616154481973350400
  • Last Price Increase: 2023-01-19

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringReviewingHas a PR in review

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions