Hi All,
We’re having some issues with the line listing app. It shows values in the wrong columns. Below you can see that Sex at birth should have values of just Male or Female, but its displaying the label “Positive” in some places. Result should have values of positive or negative, but you see Male showing up… any ideas how to fix this? We have tried multiple versions of the app and all seem to show this behavior.
Hi Kayla,
Thank you for the post. It’s either that there is an issue with the database that you are using or an issue with the app and for this reason I’d like to request from you to test if you could reproduce this issue in any of the play.dhis2.org instances please?
If you are able to reproduce this issue, would you kindly share the steps to reproduce so we’re able to tag it as a bug and triage to the software team? You’re welcome to put the steps to reproduce in a bug Jira ticket (Projects - Jira) and if you do please share the link to the Jira here so other can follow/watch/vote.
Thanks!
Can you confirm on the backend of these specific events that you’ve highlighted that the values are accurate (i.e. Sex at birth is showing up as something other than “Positive”)?
Yes - here is an example from our test org unit:
Context:
Sex at birth is type text with an option set as follows
Result is type text with an option set as follows:
Looking up the 3rd person, as they have fewer events -
The value of Sex is 1.
The value of Final Result is 2.
So what its doing is using the option set labels from the first element to label the values of the second.
It can be replicated on play… I added it here. [DHIS2-15771] - Jira