Author Topic: Embedded elements of an instantiated class are locked  (Read 2624 times)

Boron

  • EA User
  • **
  • Posts: 111
  • Karma: +6/-0
    • View Profile
Embedded elements of an instantiated class are locked
« on: October 23, 2018, 07:08:56 pm »
Hello,

some facts:
- EA model with enabled user security and activated "Require user lock to edit"
- Problem discovered in EA 12 to EA 14.1 (probably also earlier versions)

Problem:
I have a class with embedded elements like ports or parts.
If I now create an instance of this class, all embedded elements are also instantiated. Awesome :).
BUT: The instantiated embedded elements have no applied user lock, only the class instance gets the user lock.
Thus, giving a name to such an element, or giving a stereotype to an element is prevented, because the OK button is deactivated because of the missing user lock.
We have to manually apply user lock to the embedded elements.

Questions:
Is this behavior intended and why?
Any solution/workaround available to get applied user locks on element instantiation?
Or is a bug report to Sparx necessary, given that there is no reasonable argument why this is intended?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Embedded elements of an instantiated class are locked
« Reply #1 on: October 23, 2018, 07:43:43 pm »
Yes, report as bug to Sparx.

Little obvious bugs like this often get fixed quite quickly.

Geert