Commit c0976642 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix bug

parent 8696554f
Pipeline #8779 passed with stages
in 7 minutes and 1 second
......@@ -68,7 +68,7 @@ class ResourceBuilder(
}
// Records in which no external link is available no digital object is generated at all.
if (record.resource.hasProperty(EBUCORE.locator)) {
if (digitalObject.resource.hasProperty(EBUCORE.locator)) {
digitalObject.addRecord(record)
record.addInstantiation(digitalObject)
resources.add(digitalObject)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment