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 2020/04/27 23:29:38 UTC

[GitHub] [incubator-superset] john-bodley opened a new issue #9664: Jinja filter_values macro does not work with cache warmup

john-bodley opened a new issue #9664:
URL: https://github.com/apache/incubator-superset/issues/9664


   The Jinja [`filter_values`](https://github.com/apache/incubator-superset/blob/955a4fe7925c76b2ffdd838c68099952f9595ed7/superset/jinja_context.py#L31) macro does not work when using the `/superset/warm_up_cache` endpoint as the macro fetches the form-data from the request payload which isn't present. 
   
   ### Expected results
   
   The `/superset/warm_up_cache` endpoint should accurately mimic exploring a slice either via explorer or from a dashboard.
   
   ### Actual results
   
   The request payload is void of form-data.
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   #### How to reproduce the bug
   
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `master`
   - python version: `3.6`
   - node.js version: N/A
   - npm version: N/A
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   
   cc: @villebro 
   


----------------------------------------------------------------
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.

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