Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C covid19india-react
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • covid19india
  • covid19india-react
  • Issues
  • #1525
Closed
Open
Issue created Apr 25, 2020 by Administrator@rootContributor

White screen shows up with console errors if an invalid state code entered in URL

Created by: rajkapadia247

Describe the bug If I try to reach https://www.covid19india.org/state/MH, I am navigated to Maharashtra's page. However, if I try to reach https://www.covid19india.org/state/mh or https://www.covid19india.org/state/xyz I see a white screen. For the former, I should be redirected to Maharashtra's page and for the latter I should be navigated to the Home page.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.covid19india.org/state/mh or https://www.covid19india.org/state/xyz
  2. A white screen shows up.

Expected behavior For /state/mh the user should be navigated to Maharashtra's page. For /state/xyz the user should be navigated to the Home page.

Screenshots state code in caps

state code not in caps

invalid state

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Google Chrome
  • Version: 81.0.4044.122

Additional context Add any other context about the problem here.

Assignee
Assign to
Time tracking