You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/10/07 18:31:33 UTC

[GitHub] [superset] kevinwen2k opened a new issue #17021: CLIENT_CACHE flag in superset 1.2 breaks the dataset in explore page

kevinwen2k opened a new issue #17021:
URL: https://github.com/apache/superset/issues/17021


   Hi guys, I found a bug with the flag CLIENT_CACHE in config.py that break the explore page (/superset/explore/?form_data=%7B"viz_type"%3A"table"%2C"datasource"%3A"281__table"%2C"url_params" ). Here’s the step to reproduce:
   
   1. In superset/config.y, set the flag to true by "CLIENT_CACHE": True, .
   2. Restart server (superset/gunicorn).
   3. Go to Dataset list page (/tablemodelview/list/).
   4. Click on one of the dataset and you will land on the explore page (/superset/explore/).
   5. Under VISUALIZATION TYPE, change Table to any other type, like Line Chart.
   6. An error message pops up as screenshot below.
   
   We’re using superset 1.2 and have the redis server used for caching. It happens on Mac/Linux with both superset and gunicorn.
   
   I tracked down a little bit and found out that it’s because the datasource_id in the url (281__table) can’t be captured. Hope the information here is enough for the team to work on. Thanks!
   ![Screen Shot 2021-10-04 at 12 42 53 AM](https://user-images.githubusercontent.com/4207782/136442333-f90f7ba7-ba56-45bd-b403-76921e3e9727.png)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org