Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
digit-joinup-reference
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ec-europa
digit-joinup-reference
Commits
d69ca9b8
Commit
d69ca9b8
authored
7 years ago
by
Sander Van Dooren
Browse files
Options
Downloads
Plain Diff
Merge branch 'ISAICP-3945' into deploy
parents
7fa0933b
eb55c708
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/patch/ihavetoshipsorry.patch
+4
-3
4 additions, 3 deletions
resources/patch/ihavetoshipsorry.patch
with
4 additions
and
3 deletions
resources/patch/ihavetoshipsorry.patch
+
4
−
3
View file @
d69ca9b8
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,1
4
@@
QUERY;
@@ -531,11 +531,1
5
@@
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 +111
2
,7 @@
QUERY;
@@ -1109,7 +111
3
,7 @@
QUERY;
// Get the entities that were found in the cache.
foreach ($ids as $index => $id) {
$cid = $cid_map[$id];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment