Book a Demo

Author Topic: Tagged values not visible in docked window  (Read 4879 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Tagged values not visible in docked window
« on: April 22, 2020, 06:33:14 pm »
In some cases the tagged values of an element are not visible in the docked window and can only be seen in the popup dialog.
This seems to happen when the assigned stereotype is not fully qualified.
Example: element stereotype set to «model document», not EAUML::model document
The tagged values corresponding to the EAUML::model document are not shown in either the properties or the tags section of the docked properties window.

I can understand that the new method requires a fully qualified stereotype before showing tags in the properties section, but if tagged values are present they should be shown in in the properties section (fully qualified stereotype), or in the tags section (not fully qualified)

Reported

Geert

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Tagged values not visible in docked window
« Reply #1 on: April 23, 2020, 08:10:40 am »
Are the tags actually present? A stereotype from the global list can't define any tagged values.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Tagged values not visible in docked window
« Reply #2 on: April 23, 2020, 01:26:55 pm »
Are the tags actually present? A stereotype from the global list can't define any tagged values.
Yes the tagged values are there, I can see them in the popup dialog. (and in the database)
I just can't see them in the docked window.

Geert

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Tagged values not visible in docked window
« Reply #3 on: April 23, 2020, 02:51:47 pm »
What I suspect is happening is that the tagged values are being identified as belonging to that stereotype, but because it isn't applied there is nowhere to display them.

It's likely that you're in that situation because older versions of EA weren't as strict about it.

The easiest solution is to remove the bad stereotype and apply the EAUML stereotype.

Just to be clear, I'm not saying that the current behavior is correct (in either place.)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Tagged values not visible in docked window
« Reply #4 on: April 23, 2020, 03:59:36 pm »
What I suspect is happening is that the tagged values are being identified as belonging to that stereotype, but because it isn't applied there is nowhere to display them.

It's likely that you're in that situation because older versions of EA weren't as strict about it.

The easiest solution is to remove the bad stereotype and apply the EAUML stereotype.

Just to be clear, I'm not saying that the current behavior is correct (in either place.)
I tried that, but if I do that EA creates new tagged values, instead of assuming the existing tagged values belong to the (now fully qualified) stereotype and I have no way of accessing the (already filled in) old tagged values.
What worked was replacing updating the t_xref.description with the fully qualified version.
Then EA was able to show the tagged values in the properties section.

I don't have a problem with the more strict handling of stereotypes (I even applaud it) but I think all tagged values should always be visible, and the behavior should be consistent between docked properties window and popup dialog.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Tagged values not visible in docked window
« Reply #5 on: April 23, 2020, 05:58:23 pm »
What I suspect is happening is that the tagged values are being identified as belonging to that stereotype, but because it isn't applied there is nowhere to display them.

It's likely that you're in that situation because older versions of EA weren't as strict about it.

The easiest solution is to remove the bad stereotype and apply the EAUML stereotype.

Just to be clear, I'm not saying that the current behavior is correct (in either place.)
I tried that, but if I do that EA creates new tagged values, instead of assuming the existing tagged values belong to the (now fully qualified) stereotype and I have no way of accessing the (already filled in) old tagged values.
What worked was replacing updating the t_xref.description with the fully qualified version.
Then EA was able to show the tagged values in the properties section.

I don't have a problem with the more strict handling of stereotypes (I even applaud it) but I think all tagged values should always be visible, and the behavior should be consistent between docked properties window and popup dialog.

Geert
Yes, we found similar in our experiments.

I refer again to Best practices for Tag/Property in profiles?

I think as we bring forward legacy repositories, we have to be prepared for some work.  What frustrates me is that the targets are, often, self inconsistent - as shown in my thread above.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!