Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: Doug Blake 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.
-
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.
-
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.
-
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. ;)