abyot / sun-pmt

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

"additional stakeholders" not showing up for some actions #47

Closed kreinhardt closed 7 years ago

kreinhardt commented 7 years ago

I found 3 actions where the additional stakeholders were not showing up properly. I went back and looked at each part of the metadata but they seemed to be in order.

image

image

image

abyot commented 7 years ago

Hi @kreinhardt

A most probable cause here is that something is not properly defined for corresponding programs. Here is what to check:

  1. does the program exist? Program and action are linked through action code
  2. does the program have program stage and the program stage data elements?
kreinhardt commented 7 years ago

So I checked the 3 actions - they all have programs and are associated with the correct action code.

2 of them did not have program stage data elements so I have now fixed that and the additional stakeholders are now showing up properly.

The action iron/folic acid supplementation already had program stages so I'm not sure what is happening with that one...

abyot commented 7 years ago

Daily iron and folic acid supplementation, code for program is Ac9 while code for data element / action is AC9 - note the c Vs C. This means you need to change to code in option set... however it is not possible to edit code. what you can do there is remove the option (not the option set) and recreate with the proper code

Deworming works... may be a cache issue?

kreinhardt commented 7 years ago

Deworming wasn't an issue after I added the program data elements.

I fixed the option and reassigned the code to the program so the iron actions is showing up now.