Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bugfix] don't parse save dashboard response #6349

Merged
merged 2 commits into from
Nov 9, 2018
Merged

Conversation

williaster
Copy link
Contributor

@williaster williaster commented Nov 9, 2018

Right now a straight save on a dashboard displays an error message in the UI (tho the save is successful) because the success response is not JSON, which is the default parseMethod for SupersetClient

This also removes an extra bracket shown in the error message when there is an error saving.

Verified locally.

@michellethomas @graceguo-supercat @kristw @mistercrunch

@codecov-io
Copy link

codecov-io commented Nov 9, 2018

Codecov Report

Merging #6349 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #6349   +/-   ##
=======================================
  Coverage   77.33%   77.33%           
=======================================
  Files          67       67           
  Lines        9578     9578           
=======================================
  Hits         7407     7407           
  Misses       2171     2171

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3d77526...513bf7c. Read the comment docs.

@williaster williaster merged commit 62dcce8 into master Nov 9, 2018
@williaster williaster deleted the chris--save-dash-fix branch November 9, 2018 03:27
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request Nov 9, 2018
* [bugfix] don't parse save dashboard response

* [dashboard] remove bracket in error message

(cherry picked from commit 62dcce8)
bipinsoniguavus pushed a commit to ThalesGroup/incubator-superset that referenced this pull request Dec 26, 2018
* [bugfix] don't parse save dashboard response

* [dashboard] remove bracket in error message
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.34.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.34.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants