Only claim new identifier if instance L0.TypeWithIdentifier 53/1653/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:42 +0000 (13:57 +0200)
commit803c42fd316859809eaeb3dc6a88b22cbf86b4b6
tree4c9dd94d92071974d0149eaa50239e7a612871c2
parent614521efc5cf9c3f0214ed9e56e460ce56cfceba
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