From: Marko Luukkainen Date: Tue, 19 Nov 2019 09:35:01 +0000 (+0200) Subject: Property changes may incude data type changes. X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F64%2F3564%2F1;p=simantics%2Finterop.git Property changes may incude data type changes. gitlab #15 Change-Id: Iddcfd403cda7035bb8512687354666be4c269e93 --- diff --git a/org.simantics.interop.update/src/org/simantics/interop/update/model/PropertyChange.java b/org.simantics.interop.update/src/org/simantics/interop/update/model/PropertyChange.java index 491bf57..81a342a 100644 --- a/org.simantics.interop.update/src/org/simantics/interop/update/model/PropertyChange.java +++ b/org.simantics.interop.update/src/org/simantics/interop/update/model/PropertyChange.java @@ -94,6 +94,7 @@ public class PropertyChange { Resource pred = pair.second.getPredicate(); if (graph.hasValue(pair.second.getObject())) { Object value = graph.getValue(pair.second.getObject()); + graph.deny(s, pred); graph.claimLiteral(s, pred, value); } else { graph.deny(s,pred);