Skip to content

Inputting an incorrect filter in Jobs search breaks the UI #25699

Open
@nicoche

Description

@nicoche

Nomad version

1.10

Issue

Hey! I have a crash in the UI when I'm inputting a filter and:

  • It's got a bad syntax
  • It references fields incorrectly in specs (e.g. TaskGroups maps to an array, so TaskGroups.0 is correct but TaskGroups.Something breaks)

Reproduction steps

At the page on url /ui/jobs, write (TaskGroups.Something == "Something") in the search bar.

Expected Result

An error would be displayed on the UI, but not a crash

Actual Result

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Needs Roadmapping

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions