Sparx Systems Forum

Discussion => Bugs and Issues => Topic started by: PJK on December 12, 2017, 12:41:59 am

Title: Default tag values do not work properly
Post by: PJK on December 12, 2017, 12:41:59 am
Setting a default value for a tagged value type does not in fact record a default value for the tag. It displays the tag as if the value were set, but in fact the value is null, which shows up in RTF reports, etc.

Example - tag "Term Type":
Type=Enum;
Values=Acronym,Event,Location,Resource,Role,Term;
Default=Acronym;

This  will display as "Term Type=Acronym" for a newly created element, but unless the user explicitly uses the drop-down to change the value, the reported value for the element is null. This is worse than useless, as the users are misled into believing that a default value exists.

This bug has been around since at least V11.
Title: Re: Default tag values do not work properly
Post by: Uffe on December 12, 2017, 01:53:41 am
Ouchie.

Have you reported it?

/Uffe
Title: Re: Default tag values do not work properly
Post by: Paolo F Cantoni on December 12, 2017, 10:36:50 am
Just for the record...

I HATE NULLS!

Paolo

Oh, and the default value can't be left as NULL because NULL is NOT a value!