R11 · 🟠 Medium · bug

Dashboard component JSON is parsed unguarded

What the code does

The components setter calls JSON.parse on free text; invalid JSON throws inside the form.

Where

app/controllers/configuration/dashboards/new.js

Suggested fix

Suggestion

Parse in try/catch and show a field error.

Affected features