Hi All,
So we noticed in mobile interface we can check the relationships both ways ( our relationship is unidirectional), where we created to whom we created vice-versa.
In web interface the behavior is different: We can only check relationships in the record from where the relationship was created.
Example i creates relationship for Lourenco with person Teste.
Therefore, I believe you’ve found a bug, would you like to create a Jira bug issue in jira.dhis2.org to report this to the core team developers? @tracker-frontend
Dear @asacur,
I asked the core team for support and got assistance from @Markus. It turns out that it isn’t a but. The relationship will appear in both profiles if its type is “bidirectional” and to change that setting go to Maintenance → Program → Relationship Type → choose the relationship ship you are using and make sure that directional is checked as in the screenshot below, save the changes.
Hi @Gassim ,
I know this bidirectional functionality, but my question is why the difference in behavior between Android and Front-End version. Even choosing the relationship in a single direction on Android I can get to the child and from the child back to the Father, I don’t know if I made myself understood .
Thanks
Hi @jaime.bosque I just saw the card on jira created by you. Why assumed it’s an Android error and not a web error? Well I was expected it to be the opposite as i described above.
Thanks
Hi @asacur . I didn’t mark the relationship as “bidrectional” and Android still allows going from A to B and from B to A. So I consider it is an error in Android.
If you want users to be able to go back and forth, you’d have to select a bidirectional relationship so I guess (@jaime.bosque correct me if I’m wrong please) for example if you want only A to be visible for those who can see A and not B then you’d not make it a bidirectional relationship.