Skip to content

[Hold for payment 2021-08-17] Handle redirects to Invalid PolicyIds in WorkspaceCard and WorkspacePeople screens #4350

Description

@mananjadhav

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 URL, enter the workspace URL without any policyID
  2. It updates the URL as workspace/undefined/card
  3. Blank page with the card is shown
  4. Same gets reproduced by putting any random workspace policyId in the URL workspace/<randomId>/card, workspace/<randomId>/people

Expected Result:

  1. Should've redirected to the Home page
  2. Or should've opened the Settings Page with a Not Found design
redirect-to-home.mp4

Actual Result:

Empty Sidebar + List with WorkspacePeople Page
https://user-images.githubusercontent.com/3069065/127743007-cb235857-daaa-402f-bc1a-28f76e36b7fc.mp4

Empty Sidebar with WorkspaceCard Page
https://user-images.githubusercontent.com/3069065/127743012-c6cc58ae-50cf-4b0e-bfa1-ebaad0f9a5d3.mp4

Workaround:

Yes. No blocker impact.

Platform:

Where is this issue occurring?

  • Web
  • Mobile Web

Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:

View all open jobs on Upwork

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

EngineeringExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions