Author Topic: changing profile freezes elements  (Read 923 times)

ngong

  • EA User
  • **
  • Posts: 269
  • Karma: +1/-2
    • View Profile
changing profile freezes elements
« on: October 28, 2022, 03:43:59 am »
I got a working profile that defines a stereotype for a component meta class as to be a Role with the default appearance changed to orange instead of pink.
I placed several such Roles in my model, which has the first version of the profile imported.
Than I changed the working profile, added a stereotype for a datatype meta class as to be a Physical Unit, also changed the default appearance.
Imported that to my model. Answered Yes to the question whether to override the exiting profile of the same name.

But what happened:
The roles fall back to the default appearance.
What I tried:
I synchronized the Role stereotype in the resources window. No change. I tried to change the stereotype of one Role element - no change.
The properties window shows the Role stereotype for that component, but when I open the dialog to change the stereotype nothing is checked. I expected that the role has to show checked, because the properties window tells so. I can check any stereotype but nothing changes.

The solution I found is, to select <none> profile for the problematic element, uncheck the profile name for that element, save. Now I can re-assign the Role stereotype to that element. I have to do it for each of them.

I tried to make a tiny example - tiny profile and tiny model - that resembles the problem. Hmm - no luck, changing the profile worked in the example.

But the change in my working profile still violates at least one not changed stereotype regarding default experience and the ability to newly set the stereotype.

Has anyone an idea what this problem is about?
« Last Edit: October 28, 2022, 03:56:25 am by ngong »
Rolf

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8019
  • Karma: +118/-20
    • View Profile
Re: changing profile freezes elements
« Reply #1 on: October 28, 2022, 07:58:52 am »
Any chance you didn't have 'Color and Appearance' checked on the profile export dialog?

I've also seen differences in the behavior of a profile by exporting the package vs diagram.