Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Incorrect gridPos value caused browser freeze  #58

@erezweinstein5-zz

Description

@erezweinstein5-zz

Creating a Dashboard with custom panels caused UI to be un responsive. I accidentally put incorrect gridPos values which caused the web app to freeze when entering the dashboard.

To Reproduce
Edit the JSON to be like:
some_grid_pos = {"h": 3, "w": 4, "x": 0, "y": 0}
payload["gridPos"] = json.dumps(some_grid_pos)
grafanaclient.dashboard.update_dashboard(dashboard={'dashboard': dashboard})

I know what caused this to happen, it's the extra json.dumps() that added / next to "" in the JSON format but you guys should validate this somehow.

This seems like a major bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions