Author Topic: Missing Cross References  (Read 5373 times)

Doug Blake

  • EA User
  • **
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Missing Cross References
« on: November 19, 2012, 09:08:21 pm »
When I check my model into our version control system (TFS), I sometimes get a dialogue informing me that the latest revision of this controlled package contains the following cross package references which are missing from the XMI file I am currently exporting.

Then it lists some missing items, nearly always a connector or 2. This list is not specific, so I dont know what connector(s) the system thinks is missing.

What should I do here? My instinct is to say that I want to export what I currently have in the model so if there is a connector missing, I must have removed it on purpose, hence dont restore it(them) to the XMI.

Is this connector in the TFS repository and not in the model or vice versa?

Surely a list of actual connectors would be of more use.

Any light shone on this would be much appreciated.
DGB Using 12.0.1214 / eaDocX 3.6.2.1 / MSSQL / TFS / Windows 7 / IE11

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Missing Cross References
« Reply #1 on: November 19, 2012, 11:06:59 pm »
Maybe (!) this happens when you delete an element which is referenced from outside that package. Connectors are always stored in each package. So probably the message is misleading.

I also remember having read this kind of message once I used VC. I never understood it that time. But probably above is the explanation?

q.

remcol

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Missing Cross References
« Reply #2 on: November 24, 2012, 09:46:38 am »
This is indeed because there was something deleted that is in another package. Just tried it on a test-project. The wise thing is to uncheck and export what you currently have (your instinct is right, at least this time :) )

What i did was:
Checkout two packages
Made a trace from elementX from package1 to elementY from package2 and i checked both packages in.
Then i checked both packages out again and removed the trace.
Then i checked in and get the cross-reference dialog. I leaved them checked and everything seems as i wanted, there was no trace in my diagram.
I then checked out again and the trace was back.
Checked in again and the trace was not noticed.

Then i did the above again and removed the checkmarks in the dialog.
After checking out again the trace was gone, as i wanted.

Bottom line: if you removed traces by purpose and you get warned, you'd better uncheck them, otherwise they come back in your model the next time you check it out.

Doug Blake

  • EA User
  • **
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Re: Missing Cross References
« Reply #3 on: November 27, 2012, 01:04:37 am »
Thanks to remcol for that. Trying it out on a small project was what I should have done, but this forum is so good I knew that someone would step up to the plate.  ;)
DGB Using 12.0.1214 / eaDocX 3.6.2.1 / MSSQL / TFS / Windows 7 / IE11