dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #50531
Strange behavior on data entry form
Hi,
I am encountering some strange behavior in 2.26 after updating some metadata on a couple of my aggregate forms. This seems to be related to the category combo override & or data set.
Pre change - everything works fine and looks like his:
[cid:image002.jpg@01D38FC9.55A12920]
Then I update the data elements and GL-S5/TMS gets renamed to GL-S513/TS and gets a slightly newer disaggregation (new catcombo).
However - as per default data set behavior the old CatCombo is retained on the data element in the data set (override says it has the old one same as GL-S5/PMS.).
[cid:image008.jpg@01D38FC9.55A12920]
(This behavior is great, btw! :) )
But : when I try to enter data on the form it suddenly is drawn up in the auto form as an entirely different cat combo - male female. Which it is not assigned either on data element or on data set.
[cid:image009.jpg@01D38FC9.55A12920]
Trying to enter data against it gives an error as that catcombo/catoption is not assigned. If I try to create a custom form I am given the list of CORRECT disaggregations.
Testing to see how this fits together; I try to change the override on the data set to match female and male (sex). However - Surprise! The form now changes to default:
[cid:image010.jpg@01D38FC9.55A12920]
However : Creating a new data set does not have this issue. But I would prefer not to have to do that in order to fix this..
Any suggestions on cause or fix?
Many thanks!
Best,
Trøyel
Trøyel Nerbø
Data Reporting and Analysis Adviser
Strategic Planning and Development, Head office
Phone: + 47 99239817 | Skype ID nrc_troyel
Norwegian Refugee Council
www.nrc.no<http://www.nrc.no/>| Facebook<https://www.facebook.com/norwegianrefugeecouncil> | Twitter<https://twitter.com/nrc_norway>
[cid:image001.png@01D348CB.BE410710]