]> gerrit.simantics Code Review - simantics/platform.git/commit
Don't abort typical sync on blocked template to instance connections 48/3048/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 30 Jul 2019 07:01:10 +0000 (10:01 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 30 Jul 2019 07:01:10 +0000 (10:01 +0300)
commitbd27aa4cd3ca0ce7d6e7d28bc3d86c381478ef63
treeea7da90a54d25b8d7abb3935770f20efd860df2c
parentecb8b5142a0c4f667ead56b121af8b1ad1d7109a
Don't abort typical sync on blocked template to instance connections

Currently typical synchronization has a validation step that aborts the
whole diagram synchronization if there is even a single connection
missing from the instance diagram that cannot be copied from the typical
template because another instance-specific connection has been made to
the same functional terminal where the template connection is supposed
to be connected.

This changes the synchronization to simply report these cases as
WARNINGS in the verbose synchronization log and continue the
synchronization.

gitlab #323

Change-Id: I7661f6f069666fb0e6f724e6d0006e6632f93567
bundles/org.simantics.modeling/src/org/simantics/modeling/typicals/SyncTypicalTemplatesToInstances.java
bundles/org.simantics.modeling/src/org/simantics/modeling/typicals/TypicalInfo.java