EyeSeeTea / dataset-configuration-blessed

Enhanced dataset manager Dhis2 app (blessed repository)
GNU General Public License v3.0
0 stars 1 forks source link

Data Element is selected in more than one section #66

Closed EyeSeeTeaBotTest closed 6 years ago

EyeSeeTeaBotTest commented 6 years ago

dhis2

What are these caused by? and how can we fix it?

screenshot

troyel commented 6 years ago

Seems to be a slight bug on the screenshot bug app (couldnt take a proper screenshot of this for some reason, tried multiple times in two sessions). bug data element add.PNG

adrianq commented 6 years ago

This seems to happen because a Data Element cannot be in more than one section. Basically, if this Data Element is selected two times, as an Output (Data Element) and as an Outcome (Indicator that contains this Data Element). We need to agree on the rule to follow in this case...

adrianq commented 6 years ago

@troyel to double check the metadata @adrianq to catch the exception and show something like "Talk to your admin re the metadata".

It looks like the same DE is used two times in an indicator. If this is the case we need to validate and just add it once. If the problem is that the same DE is used in two indicator we need to report to Troyel so he can fix the metadata

troyel commented 6 years ago

I fixed the metadata on the dev server