Skip to content
Snippets Groups Projects
Commit 8842d247 authored by Benedikt Heinrichs's avatar Benedikt Heinrichs
Browse files

Fix if no ap is set

parent 2b0d6c16
No related branches found
No related tags found
1 merge request!12Fix: Only migrate users which have the TOS accepted
Pipeline #788889 skipped
...@@ -92,6 +92,12 @@ namespace SQL2Linked.Implementations ...@@ -92,6 +92,12 @@ namespace SQL2Linked.Implementations
AssertToGraphLiteralNode(graph, resourceGraphName, dcterms + "description", entry.Description); AssertToGraphLiteralNode(graph, resourceGraphName, dcterms + "description", entry.Description);
Console.WriteLine($"For resource '{entry.DisplayName}' will migrate triple '{resourceGraphName} {dcterms}description {entry.Description}'. "); Console.WriteLine($"For resource '{entry.DisplayName}' will migrate triple '{resourceGraphName} {dcterms}description {entry.Description}'. ");
// Skipping broken resources
if (string.IsNullOrWhiteSpace(entry.ApplicationProfile))
{
continue;
}
AssertToGraphUriNode(graph, resourceGraphName, dcterms + "conformsTo", entry.ApplicationProfile); AssertToGraphUriNode(graph, resourceGraphName, dcterms + "conformsTo", entry.ApplicationProfile);
Console.WriteLine($"For resource '{entry.DisplayName}' will migrate triple '{resourceGraphName} {dcterms}conformsTo {entry.ApplicationProfile}'. "); Console.WriteLine($"For resource '{entry.DisplayName}' will migrate triple '{resourceGraphName} {dcterms}conformsTo {entry.ApplicationProfile}'. ");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment