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

Delete visualization with many series fails with '414 Request-URI Too Long' #1432

Closed
deecay opened this issue Nov 28, 2016 · 1 comment
Closed

Comments

@deecay
Copy link
Contributor

deecay commented Nov 28, 2016

Issue Summary

Delete visualization fails with '414 Request-URI Too Long' when the visualization has a lot (100+) of series.

apache log shows:

DELETE /api/visualizations/7?created_at=2016-11-23T15:32:17.259565%2B09:00&description=&name=Time&options=%7B%22showlegend%22:false,%22yAxis%22:%5B%7B%22title%22:%7B%22text%22:%22%22%7D,%22rangeMax%22:1499999999999,%22type%22:%22datetime%22,%22rangeMin%22:1471000000000,%22series%22:%7B%22stacking%22:null%7D,%22globalSeriesType%22:%22line%22,%22sortX%22:true,%22seriesOptions%22:%7B%221%22:%7B%22zIndex%22:0,%22index%22:0,%22type%22:%22line%22,%22yAxis%22:0%7D,%222%22:%7B%22zIndex%22:1,%22index%22:0,%22type%22:%22line%22,%22yAxis%22:0%7D,%223%22:%7B%22zIndex%22:2,%22index%22:0,%22type%22:%22line%22,..........

Do we need all the options in GET parameter?

Technical details:

  • Redash Version: 12.0
  • Browser/OS: Chrome/Win8
  • How did you install Redash: Bitnami+git clone
@arikfr
Copy link
Member

arikfr commented Nov 28, 2016

Not at all. It's a bug.

@arikfr arikfr added this to the v1.0.0 milestone Nov 28, 2016
@deecay deecay changed the title Delete visualization fails with '414 Request-URI Too Long' with many series Delete visualization with many series fails with '414 Request-URI Too Long' Nov 28, 2016
@arikfr arikfr closed this as completed in e4f1325 Dec 23, 2016
arikfr added a commit that referenced this issue Dec 23, 2016
Fix #1432: delete visualization sends full visualization body instead…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants