villebro opened a new issue #4920: form_data always returns empty dict URL: https://github.com/apache/incubator-superset/issues/4920 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 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 ### Superset version Master branch ### Expected results When adding filters and groupings to a slice, referencing `form_data` in the query should return a dict with at least `groupby` and `filters`. ### Actual results In the Jinja context, form_data is always an empty dict, ie. `{}`. ### Steps to reproduce 1. Create a new query with reference to form_data, e.g. `{% form_data.get('groupby') %}`. 2. Create a slice that and add a few group-bys. 3. Notice that the group-bys don't show up in the rendered query.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services