Book a Demo

Author Topic: Duplicate Tagged Values  (Read 5646 times)

pH

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Duplicate Tagged Values
« on: March 19, 2010, 05:27:58 pm »
Hi,

There is a horrible bug in EA with respect to tagged values. When a tagged value is added using the script to an element (requirement in my case) with the same name, it actually maintains the newly added plus the previous one with that name. When I get the enumerator for tagged value and loop through I get count as 8 but in the tagged values browser or under requirements I see only 4 because those 4 were duplicated.

Thanks,
pH
<a href="http://webuml.org"><img src="http://webuml.org/images/webuml-badge.png" alt="Set UML Free!" style="border-width:0"></a>

pH

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Duplicate Tagged Values
« Reply #1 on: March 19, 2010, 05:32:02 pm »
This can be reproduced using UI itself. Just add 2 tagged values with the same name. EA simply maintains the both. YOu delete once. You still see the duplicate one!!

I think this should be fixed in EA to not to have duplicate tagged values

Thanks,
pH
<a href="http://webuml.org"><img src="http://webuml.org/images/webuml-badge.png" alt="Set UML Free!" style="border-width:0"></a>

pH

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Duplicate Tagged Values
« Reply #2 on: March 19, 2010, 08:59:23 pm »
Hi,

I noticed that there is an option to view the duplicate tagged values. Looks like EA is designed like that. But not sure under what circumstances some body needs multiple tagged values with the same name

Thanks.
pH
<a href="http://webuml.org"><img src="http://webuml.org/images/webuml-badge.png" alt="Set UML Free!" style="border-width:0"></a>

beginner

  • Guest
Re: Duplicate Tagged Values
« Reply #3 on: March 20, 2010, 12:16:09 am »
EAUI is the answer.

b.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Duplicate Tagged Values
« Reply #4 on: March 22, 2010, 08:14:59 am »
The reason I most often use duplicate tagged values is to attribute (or assign) an element to multiple people.  That's just an example though.
« Last Edit: March 22, 2010, 08:15:24 am by simonm »

beginner

  • Guest
Re: Duplicate Tagged Values
« Reply #5 on: March 22, 2010, 07:02:28 pm »
Yes, Simon. But all people I know would have chosen a multi-select-list for that purpose. A quite common GUI element. RefGUIDList is something along that line.

b.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Duplicate Tagged Values
« Reply #6 on: March 22, 2010, 08:33:32 pm »
I must admit that I too use duplicate tagged values  :-[

I'll explain... We use tagged values to maintain the relation between state machine transitions, and the operations that trigger those transitions.
(I tried to use the "real" triggers, but that was way too much overhead for a simple traceability feature)
At first I used the RefGUIDList thing to select all the operations that trigger a transition, but I found it just not user friendly. Once you have selected two operations, and you want to add a third it is way too easy to replace the previous selection with the new operation.

That is the reason we decided to use multiple tagged values with the same name, each one representing only one operation.

I know it is agains UML rules, but with the current state of affairs in EA I don't see an alternative.

Geert

beginner

  • Guest
Re: Duplicate Tagged Values
« Reply #7 on: March 22, 2010, 09:12:26 pm »
I'd rather like to see a more elegant implementation of the RefGUIDList. The current is very clumsy (as Geert says: Not User Friendly). It would be nice to see a multi-select list which could be configured from stereotyped elements (from a namespace, package, package-tree, etc.), subsets of those, lists of fixed values and any combination.

b.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Duplicate Tagged Values
« Reply #8 on: March 22, 2010, 09:33:40 pm »
I agree, but in the meantime please don't elimitate the possibility of having multiple tagged values with the same name.

Geert

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Duplicate Tagged Values
« Reply #9 on: March 23, 2010, 08:21:09 am »
Another thing is that I quite like the visual side of multiple tagged values essentially showing as a list.  Especially when showing them on a diagram.

Geert, there's no chance of multiple tagged values being eliminated because of the impact it would have on users who have used that feature.

Note: I'm not saying that usability of multiple values within a single tagged value couldn't be improved.

beginner

  • Guest
Re: Duplicate Tagged Values
« Reply #10 on: March 23, 2010, 08:54:16 pm »
Quote
Note: I'm not saying that usability of multiple values within a single tagged value couldn't be improved.
Sure. It's just that over time you get used to strange situations so you think it's normality. We once used that CCC from Paolo. Up til now I'd say that EA is consistently inconsistent ;-)

b.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Duplicate Tagged Values
« Reply #11 on: March 24, 2010, 11:10:44 am »
Quote
Quote
Note: I'm not saying that usability of multiple values within a single tagged value couldn't be improved.
Sure. It's just that over time you get used to strange situations so you think it's normality.
Yes, we're like the reptile being slowly warmed to boiling point...
Quote
We once used that CCC from Paolo. Up til now I'd say that EA is consistently inconsistent ;-)

b.
I guess that's worse than being inconsistently inconsistent!   ;)

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