App: [$750] Dev: Web - Console error on change description

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:

  1. go to any chat
  2. click on + icon
  3. select request money option
  4. enter amount and request for money
  5. go to transaction thread
  6. change the description
  7. change the description

Expected Result:

It should not show any console errors

Actual Result:

console error appears(Failed prop type: Invalid prop transaction.receipt of type array supplied to MoneyRequestPreview, expected object.)

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: Dev 1.3.63.0 Reproducible in staging?: no Reproducible in production?: no 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 Notes/Photos/Videos: Any additional supporting documentation

https://github.com/Expensify/App/assets/93399543/0db28476-2e50-4439-a4e2-13186f77d3a4

Expensify/Expensify Issue URL: Issue reported by: @gadhiyamanan Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693458994281569

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a6523cdf343ba5e2
  • Upwork Job ID: 1698988918914551808
  • Last Price Increase: 2023-10-17

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 40 (19 by maintainers)

Most upvoted comments

If it’s not been reproducible for the last two weeks, I think we can close this.

@flaviadefaria Let’s try to bump the price maybe to get more 👀 ?

I think @Pujan92 is right here. The backend for some reason is sending an empty array [] instead of an empty object {}. This is causing the prop type error.

We’ll need someone from the internal team to fix this.