didate
(Mamadou Lamarana)
9 March 2025 00:39
1
Hello everyone,
I have noticed an issue on the api/validationResults endpoint. Even if I change the page number I still get the same result.
dhis-dev-url/api/validationResults.json?page=1&pageSize=50&order=id:asc
and
dhis-dev-url/api/validationResults.json?page=2&pageSize=50&order=id:asc
produce the same result.
I have the same behavior with dhis2 play.
Steps to reproduce the issue :
Open data quality app in dhis2 play (2.40)
Use the Validation Rule Analysis
Select Sierra Leone
Leave the default period
Check “Persist new results”
Click on “Validate”
Check the first element returned by the two following requests :
https://play.im.dhis2.org/dev-2-40/api/validationResults.json?pageSize=20&page=1
https://play.im.dhis2.org/dev-2-40/api/validationResults.json?pageSize=20&page=2
Best Regards.
1 Like
Gassim
(AL-Gassim Sharaf Addin)
10 March 2025 21:10
2
Hi @didate
Thank you for the detailed post with the clear steps to reproduce the issue.
Since the objects are almost identical at first glance, the easiest way to find out that we’re getting the same result is to decrease the pageSize to 1 and then navigate using page.
You’ll see that the OU is the same no matter what page number you use. Would you like to create a Jira bug issue in (jira.dhis2.org )? I’ll make sure to triage this to the team.
Thanks!
didate
(Mamadou Lamarana)
11 March 2025 00:41
3
Hello @Gassim
Thank you for your message.
I’ve opened the ticket Jira .
Regards.
1 Like
Gassim
(AL-Gassim Sharaf Addin)
31 March 2025 18:21
4
Hi @didate
Just an update on this issue, it has been fixed (backported). Please see the update in the Jira ticket you created: Jira
If you update and still face this issue, please reply here.
Thanks!
didate
(Mamadou Lamarana)
1 April 2025 15:53
5
Hello @Gassim
I’ve tested it and it works as expected.
I Just want to say thanks to you all. You guys are doing a really good job.
Keep it up.