Skip to content

Error in editing/creating Widget on custom dashboard #33236

@shubhnik

Description

@shubhnik

Environment

SaaS (https://sentry.io/)

Version

No response

Steps to Reproduce

  1. Edit a widget by editing any of the queries or just by focusing and unfocusing query text input.
  • First picture is when I first land on the edit widget page
  • Second picture is when I just focus and un-focus the query text input in the Filter your results section.
  • Third picture is when I edit the query, the query is still valid but then it shows an error.
  • Fourth picture is when I try to submit it, it shows this error conditions are required during creation.

Screenshot 2022-04-02 at 12 20 20 PM

Screenshot 2022-04-02 at 12 21 13 PM

Screenshot 2022-04-02 at 12 19 56 PM

Screenshot 2022-04-02 at 12 42 05 PM

Expected Result

It should show proper visualization for valid queries. This is a bug in the Sentry dashboard as it throws errors even when the query is not changed.

Actual Result

It throws an error, as shown in the screenshots above.

Metadata

Metadata

Assignees

No one assigned

    Labels

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