Author Topic: Timeaware Modeling - links doesn't cloned  (Read 845 times)

AlexH

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Timeaware Modeling - links doesn't cloned
« on: May 29, 2025, 09:57:15 pm »
Hello,
I'm using EA17.1.1710.

There is a test project for a timeaware modeling.
The project contains the one package branch - the packages on three levels.
A lot of links have been made between blocks of different packages.
The branch cloned for V2 has no problems.

The branch cloned for V3 has the problems with cloning links from previous versions.
There are no links between blocks of different packages.

I don't understand the reason.





Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1137
  • Karma: +30/-8
    • View Profile
Re: Timeaware Modeling - links doesn't cloned
« Reply #1 on: June 03, 2025, 10:25:06 pm »
Have you cloned just the package (and diagrams)? Or have you cloned all elements in a package?

By default, when cloning a package only the diagrams and package are cloned, no elements are cloned. To clone the elements, you need to open the diagram and clone all the elements as needed.

Viking

  • EA User
  • **
  • Posts: 453
  • Karma: +2/-2
    • View Profile
Re: Timeaware Modeling - links doesn't cloned
« Reply #2 on: June 04, 2025, 12:20:26 am »
The branch cloned for V3 has the problems with cloning links from previous versions.
There are no links between blocks of different packages.

Did you clone the element / the block in the cloned diagram? Than a Trace-relationship would appear between clone element and clone.

Links cannot be "cloned", there is no Trace-relationship that connects links. I would have appreciated this.
« Last Edit: June 05, 2025, 03:54:51 pm by Viking »

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1137
  • Karma: +30/-8
    • View Profile
Re: Timeaware Modeling - links doesn't cloned
« Reply #3 on: June 04, 2025, 04:54:18 pm »
Links cannot be "cloned", there is no Trace-relationship that connects links. I would have appreciated this.
This is correct, technically when elements are cloned new links/relationships are created. Specifically,
1) If only 1 element at the end of a relationship is cloned, a new relationship is created between the cloned element and the not cloned element.
2) If both elements at then end of a relationship are cloned a new relationship is created between the cloned elements.
3) If later an uncloned element at the end of a cloned/uncloned element is cloned, the element at the uncloned end of the relationship is replaced with the cloned element.

Element = block

AlexH

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Timeaware Modeling - links doesn't cloned
« Reply #4 on: June 05, 2025, 01:25:23 am »
Hello,
I'm sorry for my definitions.
Of course I 've cloned the block8 v1 -> v2 -> v3.

Results:

Block8 (v1) links to Block10(v1)
Block8 (v2) links to Block10(v1)
Block8 (v3) do not links to Block10(v1) !!

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1137
  • Karma: +30/-8
    • View Profile
Re: Timeaware Modeling - links doesn't cloned
« Reply #5 on: June 05, 2025, 03:12:25 am »
Thank you for clarifying, it makes much more sense.

I think the issue is that you did not clone block10. Sparx EA doesn’t support jumping a version, so to speak, when using Time aware modelling.

But your example raises some interesting questions.

What version are you using?

AlexH

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Timeaware Modeling - links doesn't cloned
« Reply #6 on: June 05, 2025, 10:23:04 pm »
I can't agree. It looks more like a bug.

More about results:

Block8 (v1) links to Block10(v1)
Block8 (v1) links to Block9(v1)
Block8 (v1) links to Block7(v1)

Block8 (v2) links to Block10(v1)
Block8 (v2) links to Block9(v2)
Block8 (v2) links to Block7(v1)

Block8 (v3) do not links to Block10(v1) !!
Block8 (v3) links to Block9(v2)
Block8 (v3) links to Block7(v1)

Im using EA 17.1.1710.

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1137
  • Karma: +30/-8
    • View Profile
Re: Timeaware Modeling - links doesn't cloned
« Reply #7 on: June 05, 2025, 11:01:35 pm »
I can't agree. It looks more like a bug.

More about results:

Block8 (v1) links to Block10(v1)
Block8 (v1) links to Block9(v1)
Block8 (v1) links to Block7(v1)

Block8 (v2) links to Block10(v1)
Block8 (v2) links to Block9(v2)
Block8 (v2) links to Block7(v1)

Block8 (v3) do not links to Block10(v1) !!
Block8 (v3) links to Block9(v2)
Block8 (v3) links to Block7(v1)

Im using EA 17.1.1710.
If that is the behaviour you are getting, I agree it looks like a bug. It does not make sense not to be able to do what is highlighted in red and do what is highlighted in green.

We are still in version 16 and may try to see if does the same.