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/07/30 10:06:50 UTC

[GitHub] [incubator-superset] stuarthu edited a comment on issue #10479: dashboard slug is cleared on import

stuarthu edited a comment on issue #10479:
URL: https://github.com/apache/incubator-superset/issues/10479#issuecomment-666274792


   @villebro 
   The slug is cleared on purpose, which is to avoid conflict, see https://github.com/apache/incubator-superset/blob/master/superset/models/dashboard.py#L316.
   But that behavior is not expected in some cases.
   If a dashboard is exported to a yaml and imported later, I would expect the same dashboard gets overwritten rather than creating a new dashboard with an empty slug.
   This is very useful when I want to create/update dashboard automatically without manual intervene.
   If user wants to avoid conflict, user can manually edit dashboard yaml file and set slug to null instead of hard clear in superset code.


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