Skip to content

Commit

Permalink
Fix failure to export branches from graph designer #11644 (#11669)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls authored Dec 3, 2024
1 parent 1a90bdc commit 1e23a51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions arches/app/models/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,7 @@ def flatten_tree(tree, node_id_list=[]):
copy_of_self.root = root_node
copy_of_self.name = root_node.name
copy_of_self.isresource = False
copy_of_self.resource_instance_lifecycle = None
copy_of_self.subtitle = ""
copy_of_self.description = ""
copy_of_self.author = ""
Expand Down
2 changes: 1 addition & 1 deletion tests/views/graph_manager_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def setUpTestData(cls):
}
Edge.objects.create(**edges_dict).save()

graph = Graph.new()
graph = Graph.new(is_resource=True)
graph.ontology_id = "e6e8db47-2ccf-11e6-927e-b8f6b115d7dd"
graph.root.ontologyclass = "http://www.cidoc-crm.org/cidoc-crm/E1_CRM_Entity"
graph.name = "TEST GRAPH"
Expand Down

0 comments on commit 1e23a51

Please sign in to comment.