]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed ComponentCopyAdvisor to account for L0.TypeWithIdentifier properly 03/1803/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 24 May 2018 22:29:31 +0000 (01:29 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 25 May 2018 05:50:11 +0000 (05:50 +0000)
commit8daf1d98d61e83fc6450ddac8e800476a9d52ab3
tree1f7d1e4f501d418a0348764fd0f0745ba3ecc0ff
parent3add1aeb0df739aa27287b4e0770bed7d9fbb016
Fixed ComponentCopyAdvisor to account for L0.TypeWithIdentifier properly

The previous fix done for the same problem in Simantics redmine issue
7842 and commits
c912edf13bf5a91b2f6dc855f54d8728aa0a64f5,
803c42fd316859809eaeb3dc6a88b22cbf86b4b6 and
0cfc6a9b8b186ba432bc6758c089726b1471fd1f was simply wrong. Using
ModelingUtils.needsIdentifier is the most proper way to fix this.

gitlab #10

Change-Id: Id7cdc32a6596588154913fced742d751ce6ba864
(cherry picked from commit 290c3cfc8bf5a7b2cc6e8532f124512e0bf10517)
bundles/org.simantics.modeling/src/org/simantics/modeling/mapping/ComponentCopyAdvisor.java