Skip to content

[Bug] Search With No Results Returns a 404 Page on vf-react #2367

@archibald-ebi

Description

@archibald-ebi

Description

On the VF React site, when a user performs a search query that returns no results, they are incorrectly redirected to a 404 page instead of being shown a "no results found" message. This is likely an unhandled empty results state that falls through to the 404 route.

Steps to Reproduce

  1. Navigate to https://visual-framework.github.io/vf-react/
  2. Locate the search input
  3. Enter a search term 'vf-flag'
  4. Submit the search
  5. Observe that a 404 page is displayed
Image

Expected Behaviour

When a search query returns no results, the user should be shown a friendly "no results found" message within the search UI — not redirected to a 404 page.

Reported by

Dale Archibald on Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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