Skip to content
Snippets Groups Projects
Commit d69ca9b8 authored by Sander Van Dooren's avatar Sander Van Dooren
Browse files

Merge branch 'ISAICP-3945' into deploy

parents 7fa0933b eb55c708
No related branches found
No related tags found
No related merge requests found
diff --git a/src/Entity/RdfEntitySparqlStorage.php b/src/Entity/RdfEntitySparqlStorage.php
index 6e1361f..97c2dae 100644
index 6e1361f..d42a03d 100644
--- a/src/Entity/RdfEntitySparqlStorage.php
+++ b/src/Entity/RdfEntitySparqlStorage.php
@@ -531,11 +531,14 @@ QUERY;
@@ -531,11 +531,15 @@ QUERY;
return [];
}
$uuid_key = $this->entityType->getKey('uuid');
......@@ -10,6 +10,7 @@ index 6e1361f..97c2dae 100644
+ foreach ($entities as $key => $entity) {
+ if (empty($entity)) {
+ unset($entities[$key]);
+ continue;
+ }
// The ID of 'rdf_entity' is universally unique because it's a URI. As
// the backend schema has no UUID, ID is reused as UUID.
......@@ -20,7 +21,7 @@ index 6e1361f..97c2dae 100644
return $entities;
}
@@ -1109,7 +1112,7 @@ QUERY;
@@ -1109,7 +1113,7 @@ QUERY;
// Get the entities that were found in the cache.
foreach ($ids as $index => $id) {
$cid = $cid_map[$id];
......
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