← Back to team overview

dhis2-devs team mailing list archive

[Issue] - Saving an attribute with option set

 

Hi,

We are using DHIS 2.25 versions. Every option set has a value type and it
is a mandatory field. When we create an attribute and assign an option set
to it (without setting any value type for the attribute), the value type of
option set is considered as the value type of the attribute. Also, looks
like updating the value type of the attribute is not possible as it's
greyed out once we assign an option set. when we try to save this
attribute, we get an error saying - "*Missing Required property - ValueType*".
Please find the screenshot below depicting the issue. However, what works
is - we first assign a value type to the attribute (which is the same as
the value type of option set), then assign the option set to the attribute.
Then we're able to save the attribute.

Is this the expected behaviour? If not, could you please help fix it.


         [image: Inline image 1]



*Cheers,*

Archana Chillala
Application Developer
Email archanac@xxxxxxxxxxxxxxxx
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

PNG image


Follow ups