betodealmeida commented on a change in pull request #11743:
URL: 
https://github.com/apache/incubator-superset/pull/11743#discussion_r526500600



##########
File path: superset/models/helpers.py
##########
@@ -171,7 +163,7 @@ def import_from_dict(
 
         # Remove fields that should not get imported
         for k in list(dict_rep):
-            if k not in export_fields:
+            if k not in export_fields and k not in parent_refs:

Review comment:
       This is necessary to preserve the parent ID in the config when 
importing, otherwise it gets deleted.




----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to