From b5c080241b00ef6242d4c5416295f4ba5641e519 Mon Sep 17 00:00:00 2001 From: Marko Luukkainen Date: Tue, 19 Nov 2019 11:35:01 +0200 Subject: [PATCH] Property changes may incude data type changes. gitlab #15 Change-Id: Iddcfd403cda7035bb8512687354666be4c269e93 (cherry picked from commit 6653e4a7d79b9766b6037111681d92f914c161b0) --- .../src/org/simantics/interop/update/model/PropertyChange.java | 1 + 1 file changed, 1 insertion(+) 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); -- 2.45.1