From 88ef829f11351683821ba3dc735e28307c3819c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hannu=20Niemist=C3=B6?= Date: Sat, 21 Oct 2017 01:15:23 +0300 Subject: [PATCH] (refs #7570) Don't write change metadata for virtual properties Change-Id: Ib91b260eeba072a3e515fe3102ae98be521d90d4 --- .../db/layer0/genericrelation/DependenciesRelation.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/DependenciesRelation.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/DependenciesRelation.java index 4162f9163..a3e19f1fc 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/DependenciesRelation.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/DependenciesRelation.java @@ -277,6 +277,7 @@ public class DependenciesRelation extends UnsupportedRelation implements Generic Resource changeInformation = graph.getPossibleResource("http://www.simantics.org/Modeling-1.2/changeInformation/Inverse"); for (Resource value : parameter.changedValues()) { + if(!value.isPersistent()) continue; Statement modifiedComponent = graph.getPossibleStatement(value, l0.PropertyOf); if (modifiedComponent == null || modifiedComponent.getPredicate().equals(changeInformation)) -- 2.47.1