From 0d9b3a192d09ba8b7ec009ace46bc507d21031a8 Mon Sep 17 00:00:00 2001 From: Aaron Gundel Date: Thu, 10 Oct 2024 13:43:22 -0600 Subject: [PATCH] uuid type conversion error to fix #11536 --- arches/app/models/resource.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arches/app/models/resource.py b/arches/app/models/resource.py index 6cf3c40f20d..b0d88c85b3e 100644 --- a/arches/app/models/resource.py +++ b/arches/app/models/resource.py @@ -887,8 +887,8 @@ def get_relations( ) filtered_instances = filtered_instances if user is not None else [] - resourceid_to_permission = resourceid_to not in filtered_instances - resourceid_from_permission = resourceid_from not in filtered_instances + resourceid_to_permission = str(resourceid_to) not in filtered_instances + resourceid_from_permission = str(resourceid_from) not in filtered_instances if exclusive_set: resourceid_to_permission = not (resourceid_to_permission)