← Back to team overview

dhis2-devs team mailing list archive

Re: [Issue] - Saving an attribute with option set

 

Hey Archana,

This is not expected behaviour, will look into the issue.

On Tue, Nov 8, 2016 at 12:03 PM, Archana Chillala <archanac@xxxxxxxxxxxxxxxx
> wrote:

> Hi,
>
> Could you please provide any updates on this issue?
>
>
> *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>
>
> On Wed, Oct 26, 2016 at 11:19 AM, Archana Chillala <
> archanac@xxxxxxxxxxxxxxxx> wrote:
>
>> 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>
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Regards,


Mark Polak
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org <https://www.dhis2.org/>
mark@xxxxxxxxx

PNG image


Follow ups

References