Commit 82578e7e authored by Martin's avatar Martin
Browse files

fixed usage of DynamicUniqueFactory for linking DiffNodes to comodi terms

parent 5510370f
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -464,7 +464,7 @@ public class DiffJob implements Runnable {
// get ontology node from comodi
Node comodiNode = null;
UniqueEntity<Node> comodiNodeEntity = OntologyFactory.getFactory(COMODI_ONTOLOGY).getOrCreateWithOutcome(object, COMODI_ONTOLOGY);
UniqueEntity<Node> comodiNodeEntity = OntologyFactory.getFactory(COMODI_ONTOLOGY).getOrCreateWithOutcome("id", object);
if( comodiNodeEntity != null )
comodiNode = comodiNodeEntity.entity();
else {
......
Markdown is supported
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