Skip to content

[Hold on #40708] Web - Composer - Navigating to an invalid merchant edit URL makes composer active while RHP is open #40795

@kbecciv

Description

@kbecciv

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


Version Number: 1.4.64-0
Reproducible in staging?: y
Reproducible in production?: y
Issue found when executing PR: #39413
Issue reported by: Applause - Internal Team

Action Performed:

  1. Navigate to staging.new.expensify.com
  2. Create an expense request
  3. Open the expense report
  4. Click on Merchant to open the merchant edit RHP
  5. Change the URL to an invalid one by replacing the ID to text and navigate to it (e.g https://staging.new.expensify.com/edit/submit/merchant/INVALID_TEXT/3276255813405397)
  6. Press any key on the keyboard

Expected Result:

Compose box should not be active while not found RHP is open

Actual Result:

Compose box is active and user can type anything while not found RHP is open

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

Bug6458539_1713862433266.bandicam_2024-04-23_11-46-15-151.mp4

View all open jobs on GitHub

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.WeeklyKSv2retest-weeklyApply this label if you want this issue tested on a Weekly basis by Applause

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions