fixing a test and other use case of copy_tags_to

This commit is contained in:
Assunta DeSanto
2020-11-18 15:11:11 -05:00
parent 92e95fd70a
commit 012f9c1332
+1 -1
View File
@@ -413,7 +413,7 @@ class DefaultToolAction:
trans.sa_session.add(data)
if not completed_job:
trans.app.security_agent.set_all_dataset_permissions(data.dataset, output_permissions, new=True, flush=False)
data.copy_tags_to(preserved_tags)
data.copy_tags_to(preserved_tags.values())
if not completed_job and trans.app.config.legacy_eager_objectstore_initialization:
# Must flush before setting object store id currently.