Book a Demo

Author Topic: Element moves unintentionally between packages  (Read 5088 times)

Mihaly

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Element moves unintentionally between packages
« on: November 05, 2015, 01:52:10 am »
The issue is that when I add an existing element from one diagram to a second diagram and make some additions to the second diagram then the element will be automatically relocated from the original package into the package where the second diagram lies.

I'm not sure that's a right behavior, but I would like to  keep the element in the original package.

Here is the steps to reconstruct the case:

1. Create a package named StateModel in the project and a StateMachine diagram with some elements (State1, State2)
2. Create a package named ProcessModel in the same project and a BPMN2.0 Business Process diagram with some activities
3. Find and drag and drop the State1 element from the project browser into the ProcessModel diagram and make a Dependency connector from an activity to the State1 element.
4. Save the process diagram
5. Verify that the State1 element is still under the StateModel package
6. Modify the ProcessModel diagram by adding a new activity to the diagram and save it.
7. The State1 element will be automatically relocated into the package ProcessModel as a consequence.

I'm working with a EA 11.1.1111 version

I much appreciate any help or suggestion  ::)

Cheers

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Element moves unintentionally between packages
« Reply #1 on: November 05, 2015, 03:39:42 am »
That happens if you have the composite option turned on (good luck in searching for that in the options jungle). When you move an element over a certain other one it will become a child element and thus move from where it had been.

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: Element moves unintentionally between packages
« Reply #2 on: November 05, 2015, 06:16:42 am »
Upgrade to v12. They have somewhat toned done the feature so it is less annoying.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Element moves unintentionally between packages
« Reply #3 on: November 05, 2015, 07:57:59 am »
Guess "toned down" :)

Do you mean the beta by any chance? I did not notice any improvement between 11 and 12.

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: Element moves unintentionally between packages
« Reply #4 on: November 05, 2015, 03:33:36 pm »
Quote
Guess "toned down" :)

Do you mean the beta by any chance? I did not notice any improvement between 11 and 12.

q.

There was, especially when working with BPMN diagrams.
In v11 your elements always get relocated, whereas in v12 they only get relocated in certain conditions, but I don't remember the specifics.

This was exactly the reason why some of my clients didn't want to upgrade to v11 and waited for it to be "fixed" in v12.

Geert

Mihaly

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Element moves unintentionally between packages
« Reply #5 on: November 05, 2015, 09:48:24 pm »
Thank you both for the replies.  :)

I managed to find an option under Tools/Options/Objects called "Support for Composite Objects" which I switched off but it did not help unfortunately. I restarted EA too without any success.

Is there any other way you know about to deactivate that "feature" or we need to upgrade to ver. 12 as the only option?

Cheers

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Element moves unintentionally between packages
« Reply #6 on: November 05, 2015, 10:16:22 pm »
I have repeated the steps you list and I don't have that effect. Make sure you don't have any nasty add-in turned on.

q.

VKN

  • EA User
  • **
  • Posts: 187
  • Karma: +9/-1
    • View Profile
Re: Element moves unintentionally between packages
« Reply #7 on: November 06, 2015, 10:12:33 am »
Quote
..we need to upgrade to ver. 12 as the only option?
Cheers
Yes.