Issue with modifying Data Elements that have Option set - Value type gets nullified

Hi,

We are working on DHIS version 2.24 (revision 23565). We have created data elements with option sets. When we try to modify them, and save, a message pops, saying ‘Value Type is undefined’. But we cannot edit the Value Type - as the field is disabled. So, we unassign the option set for the data element, then set a Value Type for it (it’s enabled now as we unassigned the option set), and then re-assign the option set back. Then the data element gets saved. Looks like the Value Type property gets nullified after saving the data Element each time. This happens even if we create the data element initially with a value type and also, the option set assigned to it also has the same value type.

However, data elements without option sets work fine, and get saved upon any modification.

Is this a known issue? Could you please look into it and help fix it.

Cheers,

···

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

Hey Archana,

Yes this is a known issue. https://github.com/dhis2/maintenance-app/issues/210

We’re trying to get this done as soon as possible, as you’re not the only one who experiences the problem.

···

On Fri, Aug 19, 2016 at 9:30 AM, Archana Chillala archanac@thoughtworks.com wrote:

Hi,

We are working on DHIS version 2.24 (revision 23565). We have created data elements with option sets. When we try to modify them, and save, a message pops, saying ‘Value Type is undefined’. But we cannot edit the Value Type - as the field is disabled. So, we unassign the option set for the data element, then set a Value Type for it (it’s enabled now as we unassigned the option set), and then re-assign the option set back. Then the data element gets saved. Looks like the Value Type property gets nullified after saving the data Element each time. This happens even if we create the data element initially with a value type and also, the option set assigned to it also has the same value type.

However, data elements without option sets work fine, and get saved upon any modification.

Is this a known issue? Could you please look into it and help fix it.

Cheers,

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

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

mark@dhis2.org

Thanks, Mark.

···

On Fri, Aug 19, 2016 at 3:37 PM, Mark Polak mark@dhis2.org wrote:

Hey Archana,

Yes this is a known issue. https://github.com/dhis2/maintenance-app/issues/210

We’re trying to get this done as soon as possible, as you’re not the only one who experiences the problem.

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

On Fri, Aug 19, 2016 at 9:30 AM, Archana Chillala archanac@thoughtworks.com wrote:

Hi,

We are working on DHIS version 2.24 (revision 23565). We have created data elements with option sets. When we try to modify them, and save, a message pops, saying ‘Value Type is undefined’. But we cannot edit the Value Type - as the field is disabled. So, we unassign the option set for the data element, then set a Value Type for it (it’s enabled now as we unassigned the option set), and then re-assign the option set back. Then the data element gets saved. Looks like the Value Type property gets nullified after saving the data Element each time. This happens even if we create the data element initially with a value type and also, the option set assigned to it also has the same value type.

However, data elements without option sets work fine, and get saved upon any modification.

Is this a known issue? Could you please look into it and help fix it.

Cheers,

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

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

mark@dhis2.org

Should be fixed now in the latest 2.24 (It’s not yet in trunk. I plan to roll that out with a few additional changes.)

···

On Fri, Aug 19, 2016 at 12:15 PM, Archana Chillala archanac@thoughtworks.com wrote:

Thanks, Mark.

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

On Fri, Aug 19, 2016 at 3:37 PM, Mark Polak mark@dhis2.org wrote:

Hey Archana,

Yes this is a known issue. https://github.com/dhis2/maintenance-app/issues/210

We’re trying to get this done as soon as possible, as you’re not the only one who experiences the problem.

On Fri, Aug 19, 2016 at 9:30 AM, Archana Chillala archanac@thoughtworks.com wrote:

Hi,

We are working on DHIS version 2.24 (revision 23565). We have created data elements with option sets. When we try to modify them, and save, a message pops, saying ‘Value Type is undefined’. But we cannot edit the Value Type - as the field is disabled. So, we unassign the option set for the data element, then set a Value Type for it (it’s enabled now as we unassigned the option set), and then re-assign the option set back. Then the data element gets saved. Looks like the Value Type property gets nullified after saving the data Element each time. This happens even if we create the data element initially with a value type and also, the option set assigned to it also has the same value type.

However, data elements without option sets work fine, and get saved upon any modification.

Is this a known issue? Could you please look into it and help fix it.

Cheers,

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

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

mark@dhis2.org

Regards,

Mark Polak

Software developer, DHIS 2

University of Oslo

http://www.dhis2.org

mark@dhis2.org