Only claim new identifier if instance L0.TypeWithIdentifier 54/1654/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 26 Mar 2018 08:29:34 +0000 (11:29 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 26 Mar 2018 11:57:47 +0000 (13:57 +0200)
commit0cfc6a9b8b186ba432bc6758c089726b1471fd1f
tree4f2b6d0db1af6f4ab346db8045cbbd321c573930
parentd9856d2391ee17f815a43dad74d9dc6318a1878c
Only claim new identifier if instance L0.TypeWithIdentifier

Fixed long-standing bug from CopyComponentAdvisor which added
identifiers for non-STR.Component instances which has started causing
problems in team server products in version comparisons.

refs #7842

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