Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failure to export branches from graph designer #11644 #11669

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading