It's all about the answers!

Ask a question

Default value not working for enum field if multiple select


Claudia Callegari (44449871) | asked Sep 14 '09, 9:11 a.m.
This problem has been found on RTC 1.01.1

Description:
I have a custom enumeration field, which has a default literal ("Unassigned" value) setup.
On the presentation side it has been defined as a "Multi-select list".
The problem is that, even if the values are shown OK, the default value is not marked.
Am I missing anything? Or it is just a bug?

Thanks

Claudia

3 answers



permanent link
Patrick Streule (4.9k21) | answered Sep 15 '09, 5:37 a.m.
JAZZ DEVELOPER
This problem has been found on RTC 1.01.1

Description:
I have a custom enumeration field, which has a default literal
("Unassigned" value) setup.
On the presentation side it has been defined as a "Multi-select
list".
The problem is that, even if the values are shown OK, the default
value is not marked.
Am I missing anything? Or it is just a bug?

I would assume that this is a bug. Could you create a work item for this?
Thanks.

--
Regards,
Patrick
Jazz Work Item Team

permanent link
Marcel Bihr, Jazz Work Item team (1.4k) | answered Sep 15 '09, 8:34 a.m.
JAZZ DEVELOPER
Hi
I assume the field is of type 'string' (otherwise it would not work with the multi-select list). The default value of the string is the empty string and default values are currently not configurable on the attribute level. Showing an enumeration in a multi-select list is a presentation-layer-only feature.

Regards

Marcel
Jazz Work Item team

permanent link
Claudia Callegari (44449871) | answered Sep 15 '09, 1:52 p.m.
The defect has been raised. Details here:

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=94540

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.