Skip to content
Snippets Groups Projects
Commit 1065bc90 authored by juanf's avatar juanf
Browse files

BIS-1059: Bugfix null pointer

parent 280c194b
No related branches found
No related tags found
No related merge requests found
...@@ -1135,7 +1135,7 @@ public class DelayedExecutionDecorator ...@@ -1135,7 +1135,7 @@ public class DelayedExecutionDecorator
break; break;
} }
if (entityType == null) { if (entityType == null) {
dependencies.add(creation.getEntityTypeId()); dependencies.add(entityTypePermId);
} }
} }
...@@ -1143,7 +1143,7 @@ public class DelayedExecutionDecorator ...@@ -1143,7 +1143,7 @@ public class DelayedExecutionDecorator
PropertyType propertyType = getPropertyType(propertyTypePermId, new PropertyTypeFetchOptions()); PropertyType propertyType = getPropertyType(propertyTypePermId, new PropertyTypeFetchOptions());
if (propertyType == null) if (propertyType == null)
{ {
dependencies.add(creation.getPropertyTypeId()); dependencies.add(propertyTypePermId);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment