]> gerrit.simantics Code Review - simantics/interop.git/commitdiff
Property changes may incude data type changes. 64/3564/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Tue, 19 Nov 2019 09:35:01 +0000 (11:35 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Tue, 19 Nov 2019 09:35:01 +0000 (11:35 +0200)
gitlab #15

Change-Id: Iddcfd403cda7035bb8512687354666be4c269e93

org.simantics.interop.update/src/org/simantics/interop/update/model/PropertyChange.java

index 491bf5753c8932f8e031fcbe30a523ac70a33fa5..81a342a7ef079429d9d3c7afdcb76fb1171644d1 100644 (file)
@@ -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);