pranavoyo opened a new issue #4559: Jinja templating not working
URL: https://github.com/apache/incubator-superset/issues/4559
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [yes] I have checked the superset logs for python stacktraces and included 
it here as text if any
   - [yes] I have reproduced the issue with at least the latest released 
version of superset
   - [yes] I have checked the issue tracker for the same issue and I haven't 
found one similar
   
   
   ### Superset version
   0.23.1
   
   ### Expected results
   SELECT * FROM bookings where guest_id='{{ current_username() }}' should work
   
   ### Actual results
   getting error,
   Template rendering failed: '_AppCtxGlobals' object has no attribute 'user'
   
   ### Steps to reproduce
   - integrate google auth login (not sure if it is involved)
   - open sql lab, run query with jinja template, it fails
   
   

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

Reply via email to