Book a Demo

Author Topic: Duplicated GUID action pin and VC private repo  (Read 4847 times)

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Duplicated GUID action pin and VC private repo
« on: June 19, 2012, 11:51:03 pm »
Hallo,
Duplicated GUID (t_object, t_operationparams) by action pin and private repositories
We work with two private repositories (Oracle, *.eap) and MKS as VC tool.
1. In Oracle:     Make a Call Operation Action with an Action Pin and Check in.
2. In *.eap-File: Checkout Package in *.eap file, make some changes and Checkin
3. In Oracle:     Checkout Package
   The Action Pin has the Type 'External Reference'
   The ClassifierGUID in table (actionPin) points to the Boundary Element with the Text 'External Reference'
   The ClassifierGUID in table (actionPin) points to the operationparams.

Thanks for your help!
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Duplicated GUID action pin and VC private repo
« Reply #1 on: June 20, 2012, 02:48:02 am »
Well, that's what happens with software. The GUID should be random and the probability of two identical GUIDs is very, very low (1:2^136). But unfortunately these generators do not return random numbers...

The "solution" is to run the integrity check. This usually cures it.

q.

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Duplicated GUID action pin and VC private repo
« Reply #2 on: June 20, 2012, 06:52:46 am »
Hallo,

thanks for your advise.

Unfortunately this isn't just by chance. It happens more than 10 times a day. These all only with Action Pins.
Additionally sometimes there is a lost of data.  A note e.g. becomes an "External Reference" and the content is lost. The benefit of VC is that you ca see it very well.


Do be aware of the problem is easy: Just a script to search for 'External Reference'. The thing is: In fact there is no missing 'External Reference'. It has something to do with Export/Import XML.



Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Duplicated GUID action pin and VC private repo
« Reply #3 on: June 20, 2012, 10:20:13 am »
Hmm. What should I say? I guess for good reason I stopped using VC and moved to security with locking and nightly snapshots.

There's only one advice: report a bug to Sparx as you seem to be able to reproduce the problem.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Duplicated GUID action pin and VC private repo
« Reply #4 on: June 20, 2012, 05:39:04 pm »
Yep, sounds like a plain-old bug.
You're lucky though, XMI import/export is generally regarded as important by Sparx and bugs in that area usually get fixed quite fast;

Geert

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Duplicated GUID action pin and VC private repo
« Reply #5 on: June 21, 2012, 03:14:48 am »
Hi Geert,

thanks for your reply.

It's easy to reproduce and I've sent a bug report to SPARX.

Regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)