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/12/08 10:40:38 UTC

[GitHub] [superset] krsnik93 opened a new issue #17683: Control panel not showing controls on initial load for custom plugins

krsnik93 opened a new issue #17683:
URL: https://github.com/apache/superset/issues/17683


   ![image](https://user-images.githubusercontent.com/13034472/145193336-e4ee7f19-1a13-43f4-8746-12d1e5f133b3.png)
   
   Workaround seems to be to change either the datasource/dataset or the viz type. However, on initial load, the controls are missing. The reason it says "Empty Query?" is because it tries to query the backend because the validator constraints for all the controls are not in play as the controls are not rendered.
   
   #### How to reproduce the bug
   
   1. Point to a plugin in Settings -> Plugins
   2. Initiate creating a new chart via Charts -> + Chart
   4. See error
   
   ### Expected results
   
   Expect control panel to load normally.
   
   ### Actual results
   
   Control panel missing controls. They reappear only after changing datasource or viz type (does not matter from which to which).
   
   #### Screenshots
   
   Above.
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Chromium 95
   - superset version: 1.3.2
   - python version: 3.7.3
   - any feature flags active:
   ```
   FEATURE_FLAGS ={
       "DYNAMIC_PLUGINS": True,
       "ROW_LEVEL_SECURITY": True,
       "VERSIONED_EXPORT": True,
       "THUMBNAILS": True,
       "THUMBNAILS_SQLA_LISTENERS": True,
       "LISTVIEWS_DEFAULT_CARD_VIEW": False,
       "ALERT_REPORTS": True,
   }
   ```
   ### Checklist
   
   Make sure to follow these steps 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.
   
   


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