Hello everyone, I have a project with program (tracker). We noticed that when we run the analytics the indicators that count the enrollments are not updated, this behavior is also possible to notice in the Event Reports application.
For example, I have the record below whose enrollment date is 2022-01-11. In the same image it is possible to see the date of the Diagnosis & Treatment event which is the same as the enrollment.
After inserting this record, I ran analytics for 1 year ago. And as usual, I cleared my browser cache.
After that, as you can see from the image, when the output type is enrollment, I don’t have any results, strange!!
Thank you for sharing this and it will probably help others if they ever go through this bug.
Since you are able to reproduce it on play.dhis2.org then I recommend you create a Jira bug issue. I’m also asking for support from the experts to support you on this, thank you!
@asacur , please before I ask for support; would you check if there’s any error log in the Network tab that you can share here? It’s very important to find these error logs (if they are there) for the experts to know what the issue is.
Open the Network tab right before you click on update to get to the image above.
Hi @Gassim,
Since I created the above examples using Dhis2 play now I can’t do that. I’m getting error 500 when I go to dhis tracker capture. I will try later.
Please try to use incognito. Sometimes play is not the best place to test either. It’s always recommended to use a clean local installation whenever possible and then use play as a final confirmation, but if it’s not a complicated issue and can be easily reproduced while in incognito then go ahead!
To make it more understandable I replicated an indicator, malaria case, having changed it only to count enrollments instead of events. I am attaching the edits made.
With this in mind, since most of our program indicator use the enrollments calculation, the work around that we a using before executing the programmed analytics we execute a curl curl --location --request POST 'https://address/api/maintenance/analyticsTablesClear
This call delete the table in question and the system crontab generate it again.
After that click on Next, please fill out the information, add the label CoP, and for this issue I’d choose the software “Event Reports app” and the product team “platform”. It would be perfect if you add the screenshots you posted, please!
And then please post the Jira issue link in the CoP topic you created.