Better error handling when adding malformed GeoJSON #16611
Labels
Administration/Settings
Difficulty:Easy
.Frontend
Priority:P2
Average run of the mill bug
Type:Bug
Product defects
Visualization/Maps
Milestone
Describe the bug
When adding GeoJSON for a custom map that is malformed JSON or GeoJSON (to populate the identifier/display name dropdowns), the modal is closed and a stack trace is displayed in the bottom right of the screen. This is similar to #14635 but is a different underlying problem, and won't be resolved by my fix to that issue.
To Reproduce
Steps to reproduce the behavior:
features
field: https://raw.githubusercontent.com/metabase/metabase/master/test_resources/test.geojsonExpected behavior
An sane error message should be shown instead of the stack trace
Screenshots
geojson-error.mov
Information about your Metabase Installation:
Current master branch on Firefox and MacOS
The text was updated successfully, but these errors were encountered: