EyeSeeTea / dhis2-android-capture-app-psi-fork

PSI fork of official UiO Android app (blessed repository)
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Feedback module should only display information of the Assessment stage #15

Closed nancyespinoza closed 3 years ago

nancyespinoza commented 3 years ago

Currently the app is adding all the stages in the feedback, even if the action plan data elements don't have the feedback Order nor the feedback text.

Expected behavior: Only show Assessment stage data elements that have feedback order

image image

ifoche commented 3 years ago

Hi @nancyespinoza. Thanks for reporting. It's strange. Only stages with dataElements assigned that contain feedbackOrder are supposed to appear. Did you check that there's no DE associated to that program stage containing a value for feedbackOrder attribute?

nancyespinoza commented 3 years ago

Hi @ifoche!

I checked and the 4 data elements in the action plan have no feedbackOrder. Also, in the feedback tab, the app is showing the data elements of the assessment stage under the action plan stage.

ifoche commented 3 years ago

In order to replicate this issue, it's mandatory to generate an event for action plan program stage