Book a Demo

Author Topic: Version control issue  (Read 4186 times)

Henrique Narciso

  • EA User
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Version control issue
« on: November 02, 2009, 11:37:48 pm »
Hello,

I need help.

In our Ea repository, we have 2 packages with the same name. "Branding"

I imported a xmi from another project and now i'm having a strange issue.

One of the packages is showing as it is supposed, the other only shows the base package "branding" without it's contents.
In the empty package I execute a get lattest and nothing happens. The only way I have to show it's content is by doing a check out. This loads the package. What happens is that the other package's content dissapears.

So in summary, whenever I check out one package the other's content dissapears.

I exported the xml files and find that the EARootClass has the same EAID, should this be like this? Is this the problem and if so how can I go arround this without distroing anything?

Here is the XML text:
Package 1:

<UML:Model name="EA Model" xmi.id="MX_EAID_CA6BA04B_2620_468c_B1AB_A2A7E88A2FFB">
                  <UML:Namespace.ownedElement>
                        <UML:Class name="EARootClass" xmi.id="EAID_11111111_5487_4080_A7F4_41526CB0AA00" isRoot="true" isLeaf="false" isAbstract="false"/>
                        <UML: Package name="Branding_ERP" xmi.id="EAPK_CA6BA04B_2620_468c_B1AB_A2A7E88A2FFB" isRoot="false" isLeaf="false" isAbstract="false" visibility="public">
                              <UML:ModelElement.taggedValue>

Package 2:
<UML:Model name="EA Model" xmi.id="MX_EAID_6C507495_2C1E_4c81_A40B_E13422664F0F">
                  <UML:Namespace.ownedElement>
                        <UML:Class name="EARootClass" xmi.id="EAID_11111111_5487_4080_A7F4_41526CB0AA00" isRoot="true" isLeaf="false" isAbstract="false"/>
                        <UML: Package name="Branding" xmi.id="EAPK_6C507495_2C1E_4c81_A40B_E13422664F0F" isRoot="false" isLeaf="false" isAbstract="false" visibility="public">
                              <UML:ModelElement.taggedValue>
« Last Edit: November 02, 2009, 11:38:25 pm by hnarciso »

Henrique Narciso

  • EA User
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Re: Version control issue
« Reply #1 on: November 03, 2009, 02:47:57 am »
Forgot to mention that only with a undo check out does the package reload it's content.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Version control issue
« Reply #2 on: November 03, 2009, 07:25:34 pm »
Have you checked the ID's of the elements inside the package?
If both packages have elements with the same ID than this behavior can be expected.

Geert