-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unable to use view chart in explore feature on 1.4.0 #18198
Comments
Hi @iercan how do you suggest someone replicate this? For example -- should someone setup Superset in 1.3, make a time series chart, then upgrade and try to recreate this? |
@srinify Unfortunately I'm not sure how to replicate it. I'm just suspecting URL_IS_TOO_LONG_TO_SHARE conversion. We were using 1.3.2 for long time and never encountered this. I'm almost sure it happened after 1.4.0 upgrade. |
@iercan you appear to be running into a long standing problem in Superset which @michael-s-molina has been hard at work to solve once and for all. Here's the PR that should fix this problem for good: #18181. Not sure what's causing the URL to overflow in 1.4 compared to 1.3, but can you check how big the chart metadata blob is? |
We also noticed the same issue. I noticed, it happened on all large size dashboard, and our large dashboard are with tabs. Small dashboard without tabs seemed to be okay. |
@villebro Sorry I don't know how to get this information, can you explain it? |
@iercan you can do the following:
One question: does the error only come up when you go from the Dashboard page and click on "View chart in Explore", or does it also happen when going to Explore from the "Charts" page? |
It happens only from dashboard page. Charts menu works fine. If I click it from charts menu I don't see I saved metadata to a file and it seems 77 line and about 3kB. |
My initial hunch is that these cherries would be needed: #16621 and #17123. But it appears they're already included in 1.4.0. So maybe there's yet another cherry that's needed. @iercan and @fritzb can one of you copy the link from the "View chart in Explore" menu item and post it here so we can see what additional metadata the URL contains? |
This is the url before I click. (I decoded them for easy read)
and this is converted url after I click
|
I tried to repro on 1.4.0, but I don't have any massive enough dashboards that would cause this. Out of curiosity, do you have a lot of different labels on the problematic dashboard? That's the main thing I can think of that might bloat the URL.. |
Dashboard I get this error is not so big actually. Here is some characteristics of it if helps.
I also forgot to send a working url sample of a chart If I open it from Charts menu.
|
@villebro We are using official docker image to deploy and we also have another deployment for debug purpose. I can test easily if you can provide me a docker image. |
Ok I'll see if I can make one |
Problem still exists on 1.4.1 |
FYI: This issue is solved in the forthcoming 1.5.0 release. |
I've tested 1.5.0rc3. It seems resolved. Thanks. |
After upgrading to 1.4.0, we are unable to use view chart in explore feature for some charts. When I try to open in explore, I'm getting a blank chart as seen in the picture.
Only thing I detected common between these charts is that they all have
../superset/explore/?URL_IS_TOO_LONG_TO_SHARE&...
in their urls. Maybe something wrong with url conversion?How to reproduce the bug
Try to open chart in explore
Expected results
Charts need to be opened in explore mode
Actual results
Getting blank chart
Screenshots
Environment
The text was updated successfully, but these errors were encountered: